#CF538B#CF538B
#CF538B is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.9% C 0.167 H 354.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CF538B |
|---|---|
| RGB | rgb(207, 83, 139) |
| HSL | hsl(333, 56%, 57%) |
| HSV | hsv(333, 60%, 81%) |
| CMYK | cmyk(0%, 59.9%, 32.9%, 18.8%) |
| CIE-LAB | lab(53.30, 54.45, -5.82) |
| CIE-LCH | lch(53.30, 54.76, 353.90°) |
| OKLab | oklab(61.92% 0.1659 -0.0147) |
| OKLCH | oklch(61.92% 0.167 354.9) |
| XYZ | xyz(33.4873, 21.3195, 26.7726) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.14
Blush
#DE5D83
ΔE00 6.18
Pale Magenta
#D767AD
ΔE00 7.46
Dark Pink
#CB416B
ΔE00 7.49
Purplish Pink
#CE5DAE
ΔE00 7.65
Deeppink
#FF1493
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF538B #53CF97
analogous
#CF53C9 #CF538B #CF5953
triadic
#CF538B #8BCF53 #538BCF
tetradic
#CF538B #C9CF53 #53CF97 #5953CF
square
#CF538B #C9CF53 #53CF97 #5953CF
split-complementary
#CF538B #53CF59 #53C9CF
monochromatic
#83254F #B3326C #CF538B #DC83AB #EAB3CC
Accessibility & contrast
On white
3.99
#CF538B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#CF538B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF538B
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF538B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF538B | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66718D
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#DE4B69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf538b; /* rgb */ color: rgb(207, 83, 139); /* oklch */ color: oklch(61.9% 0.167 354.9);
Tailwind
colors: {
custom: {
50: '#e189ac',
500: '#cf538b',
950: '#000000',
},
}SCSS
$custom: #cf538b; $custom-light: #e189ac; $custom-dark: #000000;
JSON
{
"hex": "#cf538b",
"rgb": {
"r": 207,
"g": 83,
"b": 139
},
"hsl": {
"h": 332.903,
"s": 56.364,
"l": 56.863
},
"oklch": {
"l": 0.61918,
"c": 0.16653,
"h": 354.9
},
"luminance": 0.21316
}Semantic roles & 50–950 ramp
primary
#CF538B
secondary
#A6D8C1
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F