#CB3581#CB3581
#CB3581 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.8% C 0.197 H 354.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3581 |
|---|---|
| RGB | rgb(203, 53, 129) |
| HSL | hsl(330, 59%, 50%) |
| HSV | hsv(330, 74%, 80%) |
| CMYK | cmyk(0%, 73.9%, 36.5%, 20.4%) |
| CIE-LAB | lab(48.05, 63.86, -7.71) |
| CIE-LCH | lch(48.05, 64.33, 353.11°) |
| OKLab | oklab(57.81% 0.1959 -0.0196) |
| OKLCH | oklch(57.81% 0.197 354.3) |
| XYZ | xyz(29.8661, 16.8313, 22.4406) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.52
Magenta (survey)
#C20078
ΔE00 5.63
Darkish Pink
#DA467D
ΔE00 6.26
Dark Hot Pink
#D90166
ΔE00 6.87
Dark Pink
#CB416B
ΔE00 6.91
Deep Pink
#CB0162
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3581 #35CB7F
analogous
#CA35CB #CB3581 #CB3536
triadic
#CB3581 #81CB35 #3581CB
tetradic
#CB3581 #CBCA35 #35CB7F #3536CB
square
#CB3581 #CBCA35 #35CB7F #3536CB
split-complementary
#CB3581 #36CB35 #35CBCA
monochromatic
#6A1B43 #9B2862 #CB3581 #D8669F #E496BE
Accessibility & contrast
On white
4.81
#CB3581 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#CB3581 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB3581
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB3581 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526083
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#DB2556
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cb3581; /* rgb */ color: rgb(203, 53, 129); /* oklch */ color: oklch(57.8% 0.197 354.3);
Tailwind
colors: {
custom: {
50: '#e07aa5',
500: '#cb3581',
950: '#000000',
},
}SCSS
$custom: #cb3581; $custom-light: #e07aa5; $custom-dark: #000000;
JSON
{
"hex": "#cb3581",
"rgb": {
"r": 203,
"g": 53,
"b": 129
},
"hsl": {
"h": 329.6,
"s": 59.055,
"l": 50.196
},
"oklch": {
"l": 0.57809,
"c": 0.19691,
"h": 354.3
},
"luminance": 0.16828
}Semantic roles & 50–950 ramp
primary
#CB3581
secondary
#8CCFAD
accent
#E29346
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F