#CF538C#CF538C
#CF538C is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.167 H 354.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CF538C |
|---|---|
| RGB | rgb(207, 83, 140) |
| HSL | hsl(332, 56%, 57%) |
| HSV | hsv(332, 60%, 81%) |
| CMYK | cmyk(0%, 59.9%, 32.4%, 18.8%) |
| CIE-LAB | lab(53.33, 54.57, -6.36) |
| CIE-LCH | lch(53.33, 54.94, 353.35°) |
| OKLab | oklab(61.95% 0.1662 -0.0161) |
| OKLCH | oklch(61.95% 0.167 354.5) |
| XYZ | xyz(33.5607, 21.3488, 27.1592) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.35
Blush
#DE5D83
ΔE00 6.37
Pale Magenta
#D767AD
ΔE00 7.28
Purplish Pink
#CE5DAE
ΔE00 7.42
Dark Pink
#CB416B
ΔE00 7.71
Deeppink
#FF1493
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF538C #53CF96
analogous
#CF53CA #CF538C #CF5853
triadic
#CF538C #8CCF53 #538CCF
tetradic
#CF538C #CACF53 #53CF96 #5853CF
square
#CF538C #CACF53 #53CF96 #5853CF
split-complementary
#CF538C #53CF58 #53CACF
monochromatic
#832550 #B3326D #CF538C #DC83AC #EAB3CC
Accessibility & contrast
On white
3.99
#CF538C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#CF538C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF538C
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF538C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF538C | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66718E
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#DE4B69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf538c; /* rgb */ color: rgb(207, 83, 140); /* oklch */ color: oklch(62.0% 0.167 354.5);
Tailwind
colors: {
custom: {
50: '#e189ad',
500: '#cf538c',
950: '#000000',
},
}SCSS
$custom: #cf538c; $custom-light: #e189ad; $custom-dark: #000000;
JSON
{
"hex": "#cf538c",
"rgb": {
"r": 207,
"g": 83,
"b": 140
},
"hsl": {
"h": 332.419,
"s": 56.364,
"l": 56.863
},
"oklch": {
"l": 0.61952,
"c": 0.16697,
"h": 354.5
},
"luminance": 0.21345
}Semantic roles & 50–950 ramp
primary
#CF538C
secondary
#A6D8C1
accent
#E09A48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F