#CB487F#CB487F
#CB487F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.173 H 357.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CB487F |
|---|---|
| RGB | rgb(203, 72, 127) |
| HSL | hsl(335, 56%, 54%) |
| HSV | hsv(335, 65%, 80%) |
| CMYK | cmyk(0%, 64.5%, 37.4%, 20.4%) |
| CIE-LAB | lab(50.53, 56.58, -2.82) |
| CIE-LCH | lch(50.53, 56.65, 357.15°) |
| OKLab | oklab(59.62% 0.173 -0.0067) |
| OKLCH | oklch(59.62% 0.173 357.8) |
| XYZ | xyz(30.7786, 18.8671, 22.0954) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.34
Dark Pink
#CB416B
ΔE00 4.90
Deep Rose
#C74767
ΔE00 6.29
Dark Hot Pink
#D90166
ΔE00 7.27
Blush
#DE5D83
ΔE00 7.32
Cerise
#DE0C62
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB487F #48CB94
analogous
#CB48C1 #CB487F #CB5348
triadic
#CB487F #7FCB48 #487FCB
tetradic
#CB487F #C1CB48 #48CB94 #5348CB
square
#CB487F #C1CB48 #48CB94 #5348CB
split-complementary
#CB487F #48CB53 #48C1CB
monochromatic
#772245 #A62F61 #CB487F #D978A0 #E6A7C2
Accessibility & contrast
On white
4.40
#CB487F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#CB487F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB487F
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB487F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB487F | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6981
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#DB3C5E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb487f; /* rgb */ color: rgb(203, 72, 127); /* oklch */ color: oklch(59.6% 0.173 357.8);
Tailwind
colors: {
custom: {
50: '#df83a4',
500: '#cb487f',
950: '#000000',
},
}SCSS
$custom: #cb487f; $custom-light: #df83a4; $custom-dark: #000000;
JSON
{
"hex": "#cb487f",
"rgb": {
"r": 203,
"g": 72,
"b": 127
},
"hsl": {
"h": 334.809,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.59619,
"c": 0.17314,
"h": 357.8
},
"luminance": 0.18864
}Semantic roles & 50–950 ramp
primary
#CB487F
secondary
#9BD3BC
accent
#DFA049
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F