#CB4278#CB4278
#CB4278 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.178 H 0.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4278 |
|---|---|
| RGB | rgb(203, 66, 120) |
| HSL | hsl(336, 57%, 53%) |
| HSV | hsv(336, 67%, 80%) |
| CMYK | cmyk(0%, 67.5%, 40.9%, 20.4%) |
| CIE-LAB | lab(49.44, 58.25, -0.20) |
| CIE-LCH | lch(49.44, 58.25, 359.80°) |
| OKLab | oklab(58.74% 0.1784 0.0002) |
| OKLCH | oklch(58.74% 0.178 0.1) |
| XYZ | xyz(29.9690, 17.9526, 19.6527) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.46
Darkish Pink
#DA467D
ΔE00 3.50
Deep Rose
#C74767
ΔE00 5.06
Dark Hot Pink
#D90166
ΔE00 5.73
Cerise
#DE0C62
ΔE00 6.44
Cherry
#DE3163
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4278 #42CB95
analogous
#CB42BD #CB4278 #CB5042
triadic
#CB4278 #78CB42 #4278CB
tetradic
#CB4278 #BDCB42 #42CB95 #5042CB
square
#CB4278 #BDCB42 #42CB95 #5042CB
split-complementary
#CB4278 #42CB50 #42BDCB
monochromatic
#732040 #A32D5B #CB4278 #D8729A #E5A2BD
Accessibility & contrast
On white
4.58
#CB4278 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#CB4278 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4278
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4278 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4278 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DC3258
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cb4278; /* rgb */ color: rgb(203, 66, 120); /* oklch */ color: oklch(58.7% 0.178 0.1);
Tailwind
colors: {
custom: {
50: '#e07f9e',
500: '#cb4278',
950: '#000000',
},
}SCSS
$custom: #cb4278; $custom-light: #e07f9e; $custom-dark: #000000;
JSON
{
"hex": "#cb4278",
"rgb": {
"r": 203,
"g": 66,
"b": 120
},
"hsl": {
"h": 336.35,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.58741,
"c": 0.17835,
"h": 0.1
},
"luminance": 0.17949
}Semantic roles & 50–950 ramp
primary
#CB4278
secondary
#97D2BB
accent
#E0A448
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E