#CB5782#CB5782
#CB5782 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.6% C 0.153 H 359.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5782 |
|---|---|
| RGB | rgb(203, 87, 130) |
| HSL | hsl(338, 53%, 57%) |
| HSV | hsv(338, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 36%, 20.4%) |
| CIE-LAB | lab(53.09, 50.28, -0.86) |
| CIE-LCH | lch(53.09, 50.29, 359.02°) |
| OKLab | oklab(61.55% 0.1532 -0.0016) |
| OKLCH | oklch(61.55% 0.153 359.4) |
| XYZ | xyz(32.0678, 21.1279, 23.5041) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.48
Blush
#DE5D83
ΔE00 4.77
Dark Pink
#CB416B
ΔE00 5.94
Deep Rose
#C74767
ΔE00 6.58
Rose (survey)
#CF6275
ΔE00 6.64
Palevioletred
#DB7093
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5782 #57CBA0
analogous
#CB57BC #CB5782 #CB6657
triadic
#CB5782 #82CB57 #5782CB
tetradic
#CB5782 #BCCB57 #57CBA0 #6657CB
square
#CB5782 #BCCB57 #57CBA0 #6657CB
split-complementary
#CB5782 #57CB66 #57BCCB
monochromatic
#802848 #AF3663 #CB5782 #D986A5 #E8B4C8
Accessibility & contrast
On white
4.02
#CB5782 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#CB5782 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5782
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5782 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5782 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7183
Deuteranopia (green-blind)
#89877F
Tritanopia (blue-blind)
#DA4D67
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb5782; /* rgb */ color: rgb(203, 87, 130); /* oklch */ color: oklch(61.6% 0.153 359.4);
Tailwind
colors: {
custom: {
50: '#de8ba6',
500: '#cb5782',
950: '#000000',
},
}SCSS
$custom: #cb5782; $custom-light: #de8ba6; $custom-dark: #000000;
JSON
{
"hex": "#cb5782",
"rgb": {
"r": 203,
"g": 87,
"b": 130
},
"hsl": {
"h": 337.759,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.61552,
"c": 0.15324,
"h": 359.4
},
"luminance": 0.21125
}Semantic roles & 50–950 ramp
primary
#CB5782
secondary
#A7D7C5
accent
#DCA74C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F