#C5336B#C5336B
#C5336B is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.186 H 2.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C5336B |
|---|---|
| RGB | rgb(197, 51, 107) |
| HSL | hsl(337, 59%, 49%) |
| HSV | hsv(337, 74%, 77%) |
| CMYK | cmyk(0%, 74.1%, 45.7%, 22.7%) |
| CIE-LAB | lab(46.05, 60.70, 2.67) |
| CIE-LCH | lch(46.05, 60.76, 2.52°) |
| OKLab | oklab(55.92% 0.186 0.0075) |
| OKLCH | oklch(55.92% 0.186 2.3) |
| XYZ | xyz(26.8658, 15.3031, 15.4461) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.53
Dark Pink
#CB416B
ΔE00 3.66
Dark Hot Pink
#D90166
ΔE00 3.80
Deep Rose
#C74767
ΔE00 5.06
Cerise
#DE0C62
ΔE00 5.14
Light Burgundy
#A8415B
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5336B #33C58D
analogous
#C533B4 #C5336B #C54433
triadic
#C5336B #6BC533 #336BC5
tetradic
#C5336B #B4C533 #33C58D #4433C5
square
#C5336B #B4C533 #33C58D #4433C5
split-complementary
#C5336B #33C544 #33B4C5
monochromatic
#641A36 #942651 #C5336B #D65F8D #E290B0
Accessibility & contrast
On white
5.17
#C5336B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#C5336B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5336B
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5336B | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555B6C
Deuteranopia (green-blind)
#7C7768
Tritanopia (blue-blind)
#D6174B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c5336b; /* rgb */ color: rgb(197, 51, 107); /* oklch */ color: oklch(55.9% 0.186 2.3);
Tailwind
colors: {
custom: {
50: '#dc7795',
500: '#c5336b',
950: '#000000',
},
}SCSS
$custom: #c5336b; $custom-light: #dc7795; $custom-dark: #000000;
JSON
{
"hex": "#c5336b",
"rgb": {
"r": 197,
"g": 51,
"b": 107
},
"hsl": {
"h": 336.986,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.55917,
"c": 0.18618,
"h": 2.3
},
"luminance": 0.153
}Semantic roles & 50–950 ramp
primary
#C5336B
secondary
#87CDB2
accent
#E2A646
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E