#CB3986#CB3986
#CB3986 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.195 H 352.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3986 |
|---|---|
| RGB | rgb(203, 57, 134) |
| HSL | hsl(328, 58%, 51%) |
| HSV | hsv(328, 72%, 80%) |
| CMYK | cmyk(0%, 71.9%, 34%, 20.4%) |
| CIE-LAB | lab(48.70, 63.07, -9.77) |
| CIE-LCH | lch(48.70, 63.82, 351.20°) |
| OKLab | oklab(58.34% 0.1931 -0.0251) |
| OKLCH | oklch(58.34% 0.195 352.6) |
| XYZ | xyz(30.3966, 17.3476, 24.2973) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.66
Magenta (survey)
#C20078
ΔE00 6.23
Darkish Pink
#DA467D
ΔE00 6.44
Dark Pink
#CB416B
ΔE00 7.66
Dark Hot Pink
#D90166
ΔE00 7.88
Deep Pink
#CB0162
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3986 #39CB7E
analogous
#C739CB #CB3986 #CB393D
triadic
#CB3986 #86CB39 #3986CB
tetradic
#CB3986 #CBC739 #39CB7E #393DCB
square
#CB3986 #CBC739 #39CB7E #393DCB
split-complementary
#CB3986 #3DCB39 #39CBC7
monochromatic
#6D1D47 #9D2967 #CB3986 #D869A4 #E49AC1
Accessibility & contrast
On white
4.70
#CB3986 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#CB3986 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB3986
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB3986 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526388
Deuteranopia (green-blind)
#7C7D83
Tritanopia (blue-blind)
#DA2D5B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #cb3986; /* rgb */ color: rgb(203, 57, 134); /* oklch */ color: oklch(58.3% 0.195 352.6);
Tailwind
colors: {
custom: {
50: '#e07ba9',
500: '#cb3986',
950: '#000000',
},
}SCSS
$custom: #cb3986; $custom-light: #e07ba9; $custom-dark: #000000;
JSON
{
"hex": "#cb3986",
"rgb": {
"r": 203,
"g": 57,
"b": 134
},
"hsl": {
"h": 328.356,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.5834,
"c": 0.19472,
"h": 352.6
},
"luminance": 0.17344
}Semantic roles & 50–950 ramp
primary
#CB3986
secondary
#90D0AE
accent
#E29046
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F