#CB4799#CB4799
#CB4799 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.187 H 345.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4799 |
|---|---|
| RGB | rgb(203, 71, 153) |
| HSL | hsl(323, 56%, 54%) |
| HSV | hsv(323, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 24.6%, 20.4%) |
| CIE-LAB | lab(51.27, 60.14, -17.23) |
| CIE-LCH | lch(51.27, 62.56, 344.02°) |
| OKLab | oklab(60.46% 0.1816 -0.0456) |
| OKLCH | oklch(60.46% 0.187 345.9) |
| XYZ | xyz(32.6328, 19.5062, 32.1773) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.55
Purpley Pink
#C83CB9
ΔE00 7.14
Mediumvioletred
#C71585
ΔE00 7.14
Pinky Purple
#C94CBE
ΔE00 7.33
Pale Magenta
#D767AD
ΔE00 7.76
Shocking Pink
#FE02A2
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4799 #47CB79
analogous
#BB47CB #CB4799 #CB4757
triadic
#CB4799 #99CB47 #4799CB
tetradic
#CB4799 #CBBB47 #47CB79 #4757CB
square
#CB4799 #CBBB47 #47CB79 #4757CB
split-complementary
#CB4799 #57CB47 #47CBBB
monochromatic
#762156 #A62F79 #CB4799 #D877B3 #E6A6CE
Accessibility & contrast
On white
4.29
#CB4799 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#CB4799 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4799
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4799 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4799 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#7C8296
Tritanopia (blue-blind)
#D8456A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb4799; /* rgb */ color: rgb(203, 71, 153); /* oklch */ color: oklch(60.5% 0.187 345.9);
Tailwind
colors: {
custom: {
50: '#df83b7',
500: '#cb4799',
950: '#000000',
},
}SCSS
$custom: #cb4799; $custom-light: #df83b7; $custom-dark: #000000;
JSON
{
"hex": "#cb4799",
"rgb": {
"r": 203,
"g": 71,
"b": 153
},
"hsl": {
"h": 322.727,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.6046,
"c": 0.18721,
"h": 345.9
},
"luminance": 0.19503
}Semantic roles & 50–950 ramp
primary
#CB4799
secondary
#9BD3B0
accent
#DF8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80