#CB5172#CB5172
#CB5172 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.157 H 6.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5172 |
|---|---|
| RGB | rgb(203, 81, 114) |
| HSL | hsl(344, 54%, 56%) |
| HSV | hsv(344, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 43.8%, 20.4%) |
| CIE-LAB | lab(51.61, 51.30, 6.55) |
| CIE-LCH | lch(51.61, 51.72, 7.27°) |
| OKLab | oklab(60.3% 0.1562 0.0174) |
| OKLCH | oklch(60.3% 0.157 6.3) |
| XYZ | xyz(30.6104, 19.7998, 18.1261) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.98
Dark Pink
#CB416B
ΔE00 3.20
Darkish Pink
#DA467D
ΔE00 4.00
Rose (survey)
#CF6275
ΔE00 4.79
Cherry
#DE3163
ΔE00 5.38
Blush
#DE5D83
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5172 #51CBAA
analogous
#CB51AF #CB5172 #CB6D51
triadic
#CB5172 #72CB51 #5172CB
tetradic
#CB5172 #AFCB51 #51CBAA #6D51CB
square
#CB5172 #AFCB51 #51CBAA #6D51CB
split-complementary
#CB5172 #51CB6D #51AFCB
monochromatic
#7C253D #AC3354 #CB5172 #D98098 #E7AFBE
Accessibility & contrast
On white
4.23
#CB5172 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CB5172 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5172
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5172 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6C73
Deuteranopia (green-blind)
#89846F
Tritanopia (blue-blind)
#DC425E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb5172; /* rgb */ color: rgb(203, 81, 114); /* oklch */ color: oklch(60.3% 0.157 6.3);
Tailwind
colors: {
custom: {
50: '#df879a',
500: '#cb5172',
950: '#000000',
},
}SCSS
$custom: #cb5172; $custom-light: #df879a; $custom-dark: #000000;
JSON
{
"hex": "#cb5172",
"rgb": {
"r": 203,
"g": 81,
"b": 114
},
"hsl": {
"h": 343.77,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.60301,
"c": 0.15715,
"h": 6.3
},
"luminance": 0.19796
}Semantic roles & 50–950 ramp
primary
#CB5172
secondary
#A3D5C8
accent
#DDB64A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E