#CB3978#CB3978
#CB3978 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.189 H 358.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3978 |
|---|---|
| RGB | rgb(203, 57, 120) |
| HSL | hsl(334, 58%, 51%) |
| HSV | hsv(334, 72%, 80%) |
| CMYK | cmyk(0%, 71.9%, 40.9%, 20.4%) |
| CIE-LAB | lab(48.24, 61.58, -1.96) |
| CIE-LCH | lch(48.24, 61.61, 358.18°) |
| OKLab | oklab(57.86% 0.1889 -0.0044) |
| OKLCH | oklch(57.86% 0.189 358.7) |
| XYZ | xyz(29.4840, 16.9825, 19.4910) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.42
Darkish Pink
#DA467D
ΔE00 4.77
Dark Hot Pink
#D90166
ΔE00 5.16
Deep Pink
#CB0162
ΔE00 5.80
Deep Rose
#C74767
ΔE00 6.14
Cerise
#DE0C62
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3978 #39CB8C
analogous
#CB39C1 #CB3978 #CB4339
triadic
#CB3978 #78CB39 #3978CB
tetradic
#CB3978 #C1CB39 #39CB8C #4339CB
square
#CB3978 #C1CB39 #39CB8C #4339CB
split-complementary
#CB3978 #39CB43 #39C1CB
monochromatic
#6D1D3F #9D295B #CB3978 #D86999 #E49ABA
Accessibility & contrast
On white
4.78
#CB3978 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#CB3978 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB3978
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB3978 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#DC2654
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cb3978; /* rgb */ color: rgb(203, 57, 120); /* oklch */ color: oklch(57.9% 0.189 358.7);
Tailwind
colors: {
custom: {
50: '#e07b9e',
500: '#cb3978',
950: '#000000',
},
}SCSS
$custom: #cb3978; $custom-light: #e07b9e; $custom-dark: #000000;
JSON
{
"hex": "#cb3978",
"rgb": {
"r": 203,
"g": 57,
"b": 120
},
"hsl": {
"h": 334.11,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.57855,
"c": 0.18898,
"h": 358.7
},
"luminance": 0.16979
}Semantic roles & 50–950 ramp
primary
#CB3978
secondary
#90D0B4
accent
#E29F46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E