#CF336B#CF336B
#CF336B is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.6% C 0.195 H 4.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CF336B |
|---|---|
| RGB | rgb(207, 51, 107) |
| HSL | hsl(338, 62%, 51%) |
| HSV | hsv(338, 75%, 81%) |
| CMYK | cmyk(0%, 75.4%, 48.3%, 18.8%) |
| CIE-LAB | lab(47.88, 63.47, 5.54) |
| CIE-LCH | lch(47.88, 63.71, 4.99°) |
| OKLab | oklab(57.6% 0.1942 0.0148) |
| OKLCH | oklch(57.6% 0.195 4.4) |
| XYZ | xyz(29.5723, 16.6986, 15.5730) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.13
Dark Hot Pink
#D90166
ΔE00 2.94
Cerise
#DE0C62
ΔE00 3.44
Deep Rose
#C74767
ΔE00 3.81
Deep Pink
#CB0162
ΔE00 4.46
Cherry
#DE3163
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF336B #33CF97
analogous
#CF33B9 #CF336B #CF4933
triadic
#CF336B #6BCF33 #336BCF
tetradic
#CF336B #B9CF33 #33CF97 #4933CF
square
#CF336B #B9CF33 #33CF97 #4933CF
split-complementary
#CF336B #33CF49 #33B9CF
monochromatic
#6E1A38 #9F2551 #CF336B #DB658F #E696B3
Accessibility & contrast
On white
4.84
#CF336B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#CF336B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF336B
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF336B | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595E6C
Deuteranopia (green-blind)
#827D67
Tritanopia (blue-blind)
#E10C4B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cf336b; /* rgb */ color: rgb(207, 51, 107); /* oklch */ color: oklch(57.6% 0.195 4.4);
Tailwind
colors: {
custom: {
50: '#e47995',
500: '#cf336b',
950: '#000000',
},
}SCSS
$custom: #cf336b; $custom-light: #e47995; $custom-dark: #000000;
JSON
{
"hex": "#cf336b",
"rgb": {
"r": 207,
"g": 51,
"b": 107
},
"hsl": {
"h": 338.462,
"s": 61.905,
"l": 50.588
},
"oklch": {
"l": 0.576,
"c": 0.19479,
"h": 4.4
},
"luminance": 0.16695
}Semantic roles & 50–950 ramp
primary
#CF336B
secondary
#8CD2B9
accent
#E5AB43
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E