#CB5271#CB5271
#CB5271 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.156 H 7.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5271 |
|---|---|
| RGB | rgb(203, 82, 113) |
| HSL | hsl(345, 54%, 56%) |
| HSV | hsv(345, 60%, 80%) |
| CMYK | cmyk(0%, 59.6%, 44.3%, 20.4%) |
| CIE-LAB | lab(51.75, 50.75, 7.35) |
| CIE-LCH | lch(51.75, 51.28, 8.24°) |
| OKLab | oklab(60.4% 0.1544 0.0194) |
| OKLCH | oklch(60.4% 0.156 7.2) |
| XYZ | xyz(30.6287, 19.9269, 17.8529) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.97
Dark Pink
#CB416B
ΔE00 3.45
Darkish Pink
#DA467D
ΔE00 4.38
Rose (survey)
#CF6275
ΔE00 4.40
Cherry
#DE3163
ΔE00 5.34
Blush
#DE5D83
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5271 #52CBAC
analogous
#CB52AD #CB5271 #CB6F52
triadic
#CB5271 #71CB52 #5271CB
tetradic
#CB5271 #ADCB52 #52CBAC #6F52CB
square
#CB5271 #ADCB52 #52CBAC #6F52CB
split-complementary
#CB5271 #52CB6F #52ADCB
monochromatic
#7D263C #AC3453 #CB5271 #D98198 #E7B0BE
Accessibility & contrast
On white
4.21
#CB5271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#CB5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5271
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5271 | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6C72
Deuteranopia (green-blind)
#8A846E
Tritanopia (blue-blind)
#DC435E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb5271; /* rgb */ color: rgb(203, 82, 113); /* oklch */ color: oklch(60.4% 0.156 7.2);
Tailwind
colors: {
custom: {
50: '#df8899',
500: '#cb5271',
950: '#000000',
},
}SCSS
$custom: #cb5271; $custom-light: #df8899; $custom-dark: #000000;
JSON
{
"hex": "#cb5271",
"rgb": {
"r": 203,
"g": 82,
"b": 113
},
"hsl": {
"h": 344.628,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.60401,
"c": 0.1556,
"h": 7.2
},
"luminance": 0.19923
}Semantic roles & 50–950 ramp
primary
#CB5271
secondary
#A3D5C9
accent
#DDB84B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E