#CD37A8#CD37A8
#CD37A8 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.217 H 339.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD37A8 |
|---|---|
| RGB | rgb(205, 55, 168) |
| HSL | hsl(315, 60%, 51%) |
| HSV | hsv(315, 73%, 80%) |
| CMYK | cmyk(0%, 73.2%, 18%, 19.6%) |
| CIE-LAB | lab(50.15, 68.46, -27.80) |
| CIE-LCH | lch(50.15, 73.89, 337.90°) |
| OKLab | oklab(59.9% 0.204 -0.0751) |
| OKLCH | oklch(59.9% 0.217 339.8) |
| XYZ | xyz(33.6118, 18.5420, 38.8470) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.46
Pinky Purple
#C94CBE
ΔE00 4.96
Purplish Pink
#CE5DAE
ΔE00 6.94
Mediumvioletred
#C71585
ΔE00 7.25
Hot Magenta
#F504C9
ΔE00 7.30
Purpleish Pink
#DF4EC8
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD37A8 #37CD5C
analogous
#A737CD #CD37A8 #CD375D
triadic
#CD37A8 #A8CD37 #37A8CD
tetradic
#CD37A8 #CDA737 #37CD5C #375DCD
square
#CD37A8 #CDA737 #37CD5C #375DCD
split-complementary
#CD37A8 #5DCD37 #37CDA7
monochromatic
#6E1C5A #9F2882 #CD37A8 #D968BD #E599D3
Accessibility & contrast
On white
4.46
#CD37A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#CD37A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD37A8
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD37A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD37A8 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#D93C6B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd37a8; /* rgb */ color: rgb(205, 55, 168); /* oklch */ color: oklch(59.9% 0.217 339.8);
Tailwind
colors: {
custom: {
50: '#e07cc2',
500: '#cd37a8',
950: '#000000',
},
}SCSS
$custom: #cd37a8; $custom-light: #e07cc2; $custom-dark: #000000;
JSON
{
"hex": "#cd37a8",
"rgb": {
"r": 205,
"g": 55,
"b": 168
},
"hsl": {
"h": 314.8,
"s": 60,
"l": 50.98
},
"oklch": {
"l": 0.59902,
"c": 0.21736,
"h": 339.8
},
"luminance": 0.18539
}Semantic roles & 50–950 ramp
primary
#CD37A8
secondary
#8FD19F
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81