#C8336A#C8336A
#C8336A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.189 H 3.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C8336A |
|---|---|
| RGB | rgb(200, 51, 106) |
| HSL | hsl(338, 59%, 49%) |
| HSV | hsv(338, 75%, 78%) |
| CMYK | cmyk(0%, 74.5%, 47%, 21.6%) |
| CIE-LAB | lab(46.57, 61.44, 4.11) |
| CIE-LCH | lch(46.57, 61.58, 3.82°) |
| OKLab | oklab(56.39% 0.1882 0.0112) |
| OKLCH | oklch(56.39% 0.189 3.4) |
| XYZ | xyz(27.6070, 15.6913, 15.2079) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.97
Dark Hot Pink
#D90166
ΔE00 3.33
Deep Pink
#CB0162
ΔE00 3.65
Cerise
#DE0C62
ΔE00 4.42
Deep Rose
#C74767
ΔE00 4.43
Cherry
#DE3163
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8336A #33C891
analogous
#C833B5 #C8336A #C84633
triadic
#C8336A #6AC833 #336AC8
tetradic
#C8336A #B5C833 #33C891 #4633C8
square
#C8336A #B5C833 #33C891 #4633C8
split-complementary
#C8336A #33C846 #33B5C8
monochromatic
#661A36 #972750 #C8336A #D7618D #E392B0
Accessibility & contrast
On white
5.08
#C8336A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#C8336A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C8336A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C8336A | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565C6B
Deuteranopia (green-blind)
#7E7966
Tritanopia (blue-blind)
#D9144B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c8336a; /* rgb */ color: rgb(200, 51, 106); /* oklch */ color: oklch(56.4% 0.189 3.4);
Tailwind
colors: {
custom: {
50: '#df7894',
500: '#c8336a',
950: '#000000',
},
}SCSS
$custom: #c8336a; $custom-light: #df7894; $custom-dark: #000000;
JSON
{
"hex": "#c8336a",
"rgb": {
"r": 200,
"g": 51,
"b": 106
},
"hsl": {
"h": 337.852,
"s": 59.363,
"l": 49.216
},
"oklch": {
"l": 0.56392,
"c": 0.1885,
"h": 3.4
},
"luminance": 0.15688
}Semantic roles & 50–950 ramp
primary
#C8336A
secondary
#89CEB4
accent
#E3A845
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E