#CB4F9B#CB4F9B
#CB4F9B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.177 H 345.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4F9B |
|---|---|
| RGB | rgb(203, 79, 155) |
| HSL | hsl(323, 54%, 55%) |
| HSV | hsv(323, 61%, 80%) |
| CMYK | cmyk(0%, 61.1%, 23.6%, 20.4%) |
| CIE-LAB | lab(52.57, 57.06, -16.43) |
| CIE-LCH | lch(52.57, 59.38, 343.93°) |
| OKLab | oklab(61.44% 0.1718 -0.0435) |
| OKLCH | oklch(61.44% 0.177 345.8) |
| XYZ | xyz(33.3421, 20.6582, 33.2354) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.36
Pale Magenta
#D767AD
ΔE00 6.31
Pinky Purple
#C94CBE
ΔE00 7.33
Purpley Pink
#C83CB9
ΔE00 7.71
Shocking Pink
#FE02A2
ΔE00 8.00
Bright Pink
#FE01B1
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4F9B #4FCB7F
analogous
#BD4FCB #CB4F9B #CB4F5D
triadic
#CB4F9B #9BCB4F #4F9BCB
tetradic
#CB4F9B #CBBD4F #4FCB7F #4F5DCB
square
#CB4F9B #CBBD4F #4FCB7F #4F5DCB
split-complementary
#CB4F9B #5DCB4F #4FCBBD
monochromatic
#7B245A #AA327C #CB4F9B #D97EB6 #E7ADD1
Accessibility & contrast
On white
4.09
#CB4F9B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#CB4F9B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4F9B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4F9B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4F9B | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C709D
Deuteranopia (green-blind)
#7F8598
Tritanopia (blue-blind)
#D84D6E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cb4f9b; /* rgb */ color: rgb(203, 79, 155); /* oklch */ color: oklch(61.4% 0.177 345.8);
Tailwind
colors: {
custom: {
50: '#de87b8',
500: '#cb4f9b',
950: '#000000',
},
}SCSS
$custom: #cb4f9b; $custom-light: #de87b8; $custom-dark: #000000;
JSON
{
"hex": "#cb4f9b",
"rgb": {
"r": 203,
"g": 79,
"b": 155
},
"hsl": {
"h": 323.226,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.61441,
"c": 0.17722,
"h": 345.8
},
"luminance": 0.20655
}Semantic roles & 50–950 ramp
primary
#CB4F9B
secondary
#A1D5B5
accent
#DE834A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80