#CB4792#CB4792
#CB4792 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.183 H 348.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4792 |
|---|---|
| RGB | rgb(203, 71, 146) |
| HSL | hsl(326, 56%, 54%) |
| HSV | hsv(326, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 28.1%, 20.4%) |
| CIE-LAB | lab(51.02, 59.24, -13.46) |
| CIE-LCH | lch(51.02, 60.75, 347.20°) |
| OKLab | oklab(60.18% 0.1799 -0.0352) |
| OKLCH | oklch(60.18% 0.183 348.9) |
| XYZ | xyz(32.0716, 19.2816, 29.2213) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.52
Mediumvioletred
#C71585
ΔE00 6.85
Darkish Pink
#DA467D
ΔE00 6.99
Shocking Pink
#FE02A2
ΔE00 8.00
Neon Pink
#FE019A
ΔE00 8.01
Pale Magenta
#D767AD
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4792 #47CB80
analogous
#C247CB #CB4792 #CB4750
triadic
#CB4792 #92CB47 #4792CB
tetradic
#CB4792 #CBC247 #47CB80 #4750CB
square
#CB4792 #CBC247 #47CB80 #4750CB
split-complementary
#CB4792 #50CB47 #47CBC2
monochromatic
#762152 #A62F73 #CB4792 #D877AE #E6A6CB
Accessibility & contrast
On white
4.32
#CB4792 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#CB4792 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4792
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4792 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4792 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586B94
Deuteranopia (green-blind)
#7E828F
Tritanopia (blue-blind)
#D94266
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb4792; /* rgb */ color: rgb(203, 71, 146); /* oklch */ color: oklch(60.2% 0.183 348.9);
Tailwind
colors: {
custom: {
50: '#df83b2',
500: '#cb4792',
950: '#000000',
},
}SCSS
$custom: #cb4792; $custom-light: #df83b2; $custom-dark: #000000;
JSON
{
"hex": "#cb4792",
"rgb": {
"r": 203,
"g": 71,
"b": 146
},
"hsl": {
"h": 325.909,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60184,
"c": 0.18327,
"h": 348.9
},
"luminance": 0.19278
}Semantic roles & 50–950 ramp
primary
#CB4792
secondary
#9BD3B3
accent
#DF8A49
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F