#CB3972#CB3972
#CB3972 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.187 H 1.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3972 |
|---|---|
| RGB | rgb(203, 57, 114) |
| HSL | hsl(337, 58%, 51%) |
| HSV | hsv(337, 72%, 80%) |
| CMYK | cmyk(0%, 71.9%, 43.8%, 20.4%) |
| CIE-LAB | lab(48.06, 60.99, 1.43) |
| CIE-LCH | lch(48.06, 61.01, 1.35°) |
| OKLab | oklab(57.67% 0.187 0.0044) |
| OKLCH | oklch(57.67% 0.187 1.3) |
| XYZ | xyz(29.1312, 16.8414, 17.6330) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.99
Dark Hot Pink
#D90166
ΔE00 4.22
Darkish Pink
#DA467D
ΔE00 4.64
Deep Rose
#C74767
ΔE00 4.75
Deep Pink
#CB0162
ΔE00 5.11
Cerise
#DE0C62
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3972 #39CB92
analogous
#CB39BB #CB3972 #CB4939
triadic
#CB3972 #72CB39 #3972CB
tetradic
#CB3972 #BBCB39 #39CB92 #4939CB
square
#CB3972 #BBCB39 #39CB92 #4939CB
split-complementary
#CB3972 #39CB49 #39BBCB
monochromatic
#6D1D3C #9D2957 #CB3972 #D86995 #E49AB7
Accessibility & contrast
On white
4.81
#CB3972 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#CB3972 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB3972
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB3972 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#807C6F
Tritanopia (blue-blind)
#DC2251
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cb3972; /* rgb */ color: rgb(203, 57, 114); /* oklch */ color: oklch(57.7% 0.187 1.3);
Tailwind
colors: {
custom: {
50: '#e07b9a',
500: '#cb3972',
950: '#000000',
},
}SCSS
$custom: #cb3972; $custom-light: #e07b9a; $custom-dark: #000000;
JSON
{
"hex": "#cb3972",
"rgb": {
"r": 203,
"g": 57,
"b": 114
},
"hsl": {
"h": 336.575,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.57665,
"c": 0.187,
"h": 1.3
},
"luminance": 0.16838
}Semantic roles & 50–950 ramp
primary
#CB3972
secondary
#90D0B7
accent
#E2A546
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E