Deep Pink#CB0162
#CB0162 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 3.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CB0162 |
|---|---|
| RGB | rgb(203, 1, 98) |
| HSL | hsl(331, 99%, 40%) |
| HSV | hsv(331, 100%, 80%) |
| CMYK | cmyk(0%, 99.5%, 51.7%, 20.4%) |
| CIE-LAB | lab(43.66, 70.91, 4.98) |
| CIE-LCH | lch(43.66, 71.08, 4.01°) |
| OKLab | oklab(54.29% 0.2179 0.0133) |
| OKLCH | oklch(54.29% 0.218 3.5) |
| XYZ | xyz(26.8467, 13.6041, 12.7651) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 0.00
Dark Hot Pink
#D90166
ΔE00 3.04
Cerise
#DE0C62
ΔE00 4.88
Dark Pink
#CB416B
ΔE00 6.31
Purplish Red
#B0054B
ΔE00 6.36
Magenta (survey)
#C20078
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB0162 #01CB6A
analogous
#CB01C7 #CB0162 #CB0501
triadic
#CB0162 #62CB01 #0162CB
tetradic
#CB0162 #C7CB01 #01CB6A #0501CB
square
#CB0162 #C7CB01 #01CB6A #0501CB
split-complementary
#CB0162 #01CB05 #01C7CB
monochromatic
#510027 #8E0145 #CB0162 #FE0B80 #FE48A0
Accessibility & contrast
On white
5.65
#CB0162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#CB0162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB0162
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB0162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB0162 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495064
Deuteranopia (green-blind)
#79745E
Tritanopia (blue-blind)
#DE0038
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #cb0162; /* rgb */ color: rgb(203, 1, 98); /* oklch */ color: oklch(54.3% 0.218 3.5);
Tailwind
colors: {
custom: {
50: '#e26b8e',
500: '#cb0162',
950: '#000000',
},
}SCSS
$custom: #cb0162; $custom-light: #e26b8e; $custom-dark: #000000;
JSON
{
"hex": "#cb0162",
"rgb": {
"r": 203,
"g": 1,
"b": 98
},
"hsl": {
"h": 331.188,
"s": 99.02,
"l": 40
},
"oklch": {
"l": 0.54294,
"c": 0.21827,
"h": 3.5
},
"luminance": 0.136
}Semantic roles & 50–950 ramp
primary
#CB0162
secondary
#4ADE97
accent
#FF9829
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#17080C
muted
#857B7D