#D6338E#D6338E
#D6338E is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.213 H 351.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D6338E |
|---|---|
| RGB | rgb(214, 51, 142) |
| HSL | hsl(327, 67%, 52%) |
| HSV | hsv(327, 76%, 84%) |
| CMYK | cmyk(0%, 76.2%, 33.6%, 16.1%) |
| CIE-LAB | lab(50.24, 68.72, -12.06) |
| CIE-LCH | lch(50.24, 69.77, 350.05°) |
| OKLab | oklab(59.92% 0.2106 -0.0312) |
| OKLCH | oklch(59.92% 0.213 351.6) |
| XYZ | xyz(33.7999, 18.6209, 27.4002) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.52
Darkish Pink
#DA467D
ΔE00 6.49
Neon Pink
#FE019A
ΔE00 6.58
Shocking Pink
#FE02A2
ΔE00 6.79
Electric Pink
#FF0490
ΔE00 7.11
Deeppink
#FF1493
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6338E #33D67B
analogous
#CD33D6 #D6338E #D6333D
triadic
#D6338E #8ED633 #338ED6
tetradic
#D6338E #D6CD33 #33D67B #333DD6
square
#D6338E #D6CD33 #33D67B #333DD6
split-complementary
#D6338E #3DD633 #33D6CD
monochromatic
#77184D #AA226E #D6338E #E066AA #EA99C6
Accessibility & contrast
On white
4.45
#D6338E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#D6338E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D6338E
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6338E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6338E | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#7F828A
Tritanopia (blue-blind)
#E6245D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #d6338e; /* rgb */ color: rgb(214, 51, 142); /* oklch */ color: oklch(59.9% 0.213 351.6);
Tailwind
colors: {
custom: {
50: '#e87baf',
500: '#d6338e',
950: '#000000',
},
}SCSS
$custom: #d6338e; $custom-light: #e87baf; $custom-dark: #000000;
JSON
{
"hex": "#d6338e",
"rgb": {
"r": 214,
"g": 51,
"b": 142
},
"hsl": {
"h": 326.503,
"s": 66.531,
"l": 51.961
},
"oklch": {
"l": 0.59922,
"c": 0.21294,
"h": 351.6
},
"luminance": 0.18617
}Semantic roles & 50–950 ramp
primary
#D6338E
secondary
#8FD6AE
accent
#E98A3E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F