#CB4178#CB4178
#CB4178 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 359.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4178 |
|---|---|
| RGB | rgb(203, 65, 120) |
| HSL | hsl(336, 57%, 53%) |
| HSV | hsv(336, 68%, 80%) |
| CMYK | cmyk(0%, 68%, 40.9%, 20.4%) |
| CIE-LAB | lab(49.30, 58.64, -0.41) |
| CIE-LCH | lch(49.30, 58.64, 359.60°) |
| OKLab | oklab(58.64% 0.1796 -0.0004) |
| OKLCH | oklch(58.64% 0.18 359.9) |
| XYZ | xyz(29.9111, 17.8368, 19.6334) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.55
Darkish Pink
#DA467D
ΔE00 3.63
Deep Rose
#C74767
ΔE00 5.17
Dark Hot Pink
#D90166
ΔE00 5.64
Cerise
#DE0C62
ΔE00 6.41
Deep Pink
#CB0162
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4178 #41CB94
analogous
#CB41BD #CB4178 #CB4F41
triadic
#CB4178 #78CB41 #4178CB
tetradic
#CB4178 #BDCB41 #41CB94 #4F41CB
square
#CB4178 #BDCB41 #41CB94 #4F41CB
split-complementary
#CB4178 #41CB4F #41BDCB
monochromatic
#721F40 #A22C5B #CB4178 #D8719A #E5A1BC
Accessibility & contrast
On white
4.60
#CB4178 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#CB4178 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #CB4178
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB4178 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DC3058
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cb4178; /* rgb */ color: rgb(203, 65, 120); /* oklch */ color: oklch(58.6% 0.180 359.9);
Tailwind
colors: {
custom: {
50: '#e07f9e',
500: '#cb4178',
950: '#000000',
},
}SCSS
$custom: #cb4178; $custom-light: #e07f9e; $custom-dark: #000000;
JSON
{
"hex": "#cb4178",
"rgb": {
"r": 203,
"g": 65,
"b": 120
},
"hsl": {
"h": 336.087,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.58637,
"c": 0.17958,
"h": 359.9
},
"luminance": 0.17833
}Semantic roles & 50–950 ramp
primary
#CB4178
secondary
#96D2BA
accent
#E0A348
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E