HSL(338, 69%, 23%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,69%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 69%, 23%) | color: hsl(338, 69%, 23%) | |
| HEX | #631230 | color: #631230 | |
| RGB | rgb(99, 18, 48) | color: rgb(99, 18, 48) | |
| CMYK | cmyk(0%, 82%, 52%, 61%) | — | |
| HSV | hsv(338, 82%, 39%) | — | |
| HWB | hwb(338 7% 61%) | color: hwb(338 7% 61%) | |
| OKLCH | oklch(0.3358 0.1153 3.92) | color: oklch(0.3358 0.1153 3.92) | |
| Lab | lab(21.21 37.56 2.93) | color: lab(21.21 37.56 2.93) | |
| LCH | lch(21.21 37.67 4.46) | color: lch(21.21 37.67 4.46) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#403F29 — rgb(64, 63, 41)
Deuteranopia (Green-blind)
#454B27 — rgb(69, 75, 39)
Tritanopia (Blue-blind)
#5F2322 — rgb(95, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 69%, 23%);
text
color: hsl(338, 69%, 23%);
border
border: 2px solid hsl(338, 69%, 23%);
gradient light
background: linear-gradient(to right, hsl(338, 69%, 43%), hsl(338, 69%, 23%));
gradient dark
background: linear-gradient(to right, hsl(338, 69%, 23%), hsl(338, 69%, 3%))
hex
background-color: #631230;
tailwind
bg-[hsl(338,69%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 69%, 23%, 0.4);
css variable
--color-primary: hsl(338, 69%, 23%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 69%, 23%)?
HEX: #631230 | RGB: rgb(99, 18, 48) | CMYK: 0%, 82%, 52%, 61% | HSV: 338°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #631230?
The complementary color is HSL(158, 69%, 23%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 69%, 23%) in CSS?
As HSL: color: hsl(338, 69%, 23%); — As HEX: color: #631230; — As RGB: color: rgb(99, 18, 48); — Tailwind CSS: bg-[hsl(338,69%,23%)] — CSS variable: --color-primary: hsl(338, 69%, 23%);