#CB5174#CB5174
#CB5174 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.158 H 5.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5174 |
|---|---|
| RGB | rgb(203, 81, 116) |
| HSL | hsl(343, 54%, 56%) |
| HSV | hsv(343, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 42.9%, 20.4%) |
| CIE-LAB | lab(51.66, 51.51, 5.42) |
| CIE-LCH | lch(51.66, 51.79, 6.01°) |
| OKLab | oklab(60.36% 0.1569 0.0145) |
| OKLCH | oklch(60.36% 0.158 5.3) |
| XYZ | xyz(30.7255, 19.8458, 18.7322) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.26
Deep Rose
#C74767
ΔE00 3.32
Darkish Pink
#DA467D
ΔE00 3.60
Rose (survey)
#CF6275
ΔE00 5.08
Blush
#DE5D83
ΔE00 5.24
Cherry
#DE3163
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5174 #51CBA8
analogous
#CB51B1 #CB5174 #CB6B51
triadic
#CB5174 #74CB51 #5174CB
tetradic
#CB5174 #B1CB51 #51CBA8 #6B51CB
square
#CB5174 #B1CB51 #51CBA8 #6B51CB
split-complementary
#CB5174 #51CB6B #51B1CB
monochromatic
#7C253E #AC3356 #CB5174 #D9809A #E7AFBF
Accessibility & contrast
On white
4.23
#CB5174 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CB5174 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5174
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5174 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5174 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696C75
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#DC435E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb5174; /* rgb */ color: rgb(203, 81, 116); /* oklch */ color: oklch(60.4% 0.158 5.3);
Tailwind
colors: {
custom: {
50: '#df879b',
500: '#cb5174',
950: '#000000',
},
}SCSS
$custom: #cb5174; $custom-light: #df879b; $custom-dark: #000000;
JSON
{
"hex": "#cb5174",
"rgb": {
"r": 203,
"g": 81,
"b": 116
},
"hsl": {
"h": 342.787,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.60358,
"c": 0.1576,
"h": 5.3
},
"luminance": 0.19842
}Semantic roles & 50–950 ramp
primary
#CB5174
secondary
#A3D5C7
accent
#DDB34A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E