#CB538D#CB538D
#CB538D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.164 H 352.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CB538D |
|---|---|
| RGB | rgb(203, 83, 141) |
| HSL | hsl(331, 54%, 56%) |
| HSV | hsv(331, 59%, 80%) |
| CMYK | cmyk(0%, 59.1%, 30.5%, 20.4%) |
| CIE-LAB | lab(52.74, 53.45, -7.90) |
| CIE-LCH | lch(52.74, 54.04, 351.59°) |
| OKLab | oklab(61.4% 0.1625 -0.0202) |
| OKLCH | oklch(61.4% 0.164 352.9) |
| XYZ | xyz(32.5311, 20.8094, 27.4975) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.11
Purplish Pink
#CE5DAE
ΔE00 6.98
Pale Magenta
#D767AD
ΔE00 7.25
Blush
#DE5D83
ΔE00 7.30
Dark Pink
#CB416B
ΔE00 8.06
Deeppink
#FF1493
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB538D #53CB91
analogous
#CB53C9 #CB538D #CB5553
triadic
#CB538D #8DCB53 #538DCB
tetradic
#CB538D #C9CB53 #53CB91 #5553CB
square
#CB538D #C9CB53 #53CB91 #5553CB
split-complementary
#CB538D #53CB55 #53C9CB
monochromatic
#7E2650 #AD346E #CB538D #D982AC #E7B1CB
Accessibility & contrast
On white
4.07
#CB538D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#CB538D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB538D
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB538D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB538D | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64708F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#D94C6A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb538d; /* rgb */ color: rgb(203, 83, 141); /* oklch */ color: oklch(61.4% 0.164 352.9);
Tailwind
colors: {
custom: {
50: '#de89ae',
500: '#cb538d',
950: '#000000',
},
}SCSS
$custom: #cb538d; $custom-light: #de89ae; $custom-dark: #000000;
JSON
{
"hex": "#cb538d",
"rgb": {
"r": 203,
"g": 83,
"b": 141
},
"hsl": {
"h": 331,
"s": 53.571,
"l": 56.078
},
"oklch": {
"l": 0.61404,
"c": 0.16375,
"h": 352.9
},
"luminance": 0.20806
}Semantic roles & 50–950 ramp
primary
#CB538D
secondary
#A4D6BE
accent
#DD964B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F