#CB4F9C#CB4F9C
#CB4F9C is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.178 H 345.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4F9C |
|---|---|
| RGB | rgb(203, 79, 156) |
| HSL | hsl(323, 54%, 55%) |
| HSV | hsv(323, 61%, 80%) |
| CMYK | cmyk(0%, 61.1%, 23.2%, 20.4%) |
| CIE-LAB | lab(52.61, 57.19, -16.96) |
| CIE-LCH | lch(52.61, 59.66, 343.48°) |
| OKLab | oklab(61.48% 0.172 -0.0449) |
| OKLCH | oklch(61.48% 0.178 345.4) |
| XYZ | xyz(33.4264, 20.6919, 33.6796) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.21
Pale Magenta
#D767AD
ΔE00 6.27
Pinky Purple
#C94CBE
ΔE00 7.11
Purpley Pink
#C83CB9
ΔE00 7.52
Purpleish Pink
#DF4EC8
ΔE00 8.01
Shocking Pink
#FE02A2
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4F9C #4FCB7E
analogous
#BC4FCB #CB4F9C #CB4F5E
triadic
#CB4F9C #9CCB4F #4F9CCB
tetradic
#CB4F9C #CBBC4F #4FCB7E #4F5ECB
square
#CB4F9C #CBBC4F #4FCB7E #4F5ECB
split-complementary
#CB4F9C #5ECB4F #4FCBBC
monochromatic
#7B245A #AA327D #CB4F9C #D97EB7 #E7ADD1
Accessibility & contrast
On white
4.09
#CB4F9C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#CB4F9C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4F9C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4F9C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4F9C | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#7F8599
Tritanopia (blue-blind)
#D84D6F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb4f9c; /* rgb */ color: rgb(203, 79, 156); /* oklch */ color: oklch(61.5% 0.178 345.4);
Tailwind
colors: {
custom: {
50: '#de87b9',
500: '#cb4f9c',
950: '#000000',
},
}SCSS
$custom: #cb4f9c; $custom-light: #de87b9; $custom-dark: #000000;
JSON
{
"hex": "#cb4f9c",
"rgb": {
"r": 203,
"g": 79,
"b": 156
},
"hsl": {
"h": 322.742,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.6148,
"c": 0.17782,
"h": 345.4
},
"luminance": 0.20689
}Semantic roles & 50–950 ramp
primary
#CB4F9C
secondary
#A1D5B5
accent
#DE824A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80