#CD37A2#CD37A2
#CD37A2 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.6% C 0.214 H 341.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CD37A2 |
|---|---|
| RGB | rgb(205, 55, 162) |
| HSL | hsl(317, 60%, 51%) |
| HSV | hsv(317, 73%, 80%) |
| CMYK | cmyk(0%, 73.2%, 21%, 19.6%) |
| CIE-LAB | lab(49.89, 67.66, -24.66) |
| CIE-LCH | lch(49.89, 72.02, 339.97°) |
| OKLab | oklab(59.63% 0.2031 -0.0662) |
| OKLCH | oklch(59.63% 0.214 341.9) |
| XYZ | xyz(33.0657, 18.3235, 35.9708) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.59
Pinky Purple
#C94CBE
ΔE00 5.92
Mediumvioletred
#C71585
ΔE00 6.36
Purplish Pink
#CE5DAE
ΔE00 7.01
Hot Magenta
#F504C9
ΔE00 7.92
Ugly Purple
#A442A0
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD37A2 #37CD62
analogous
#AD37CD #CD37A2 #CD3757
triadic
#CD37A2 #A2CD37 #37A2CD
tetradic
#CD37A2 #CDAD37 #37CD62 #3757CD
square
#CD37A2 #CDAD37 #37CD62 #3757CD
split-complementary
#CD37A2 #57CD37 #37CDAD
monochromatic
#6E1C56 #9F287D #CD37A2 #D968B9 #E599D0
Accessibility & contrast
On white
4.50
#CD37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#CD37A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD37A2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD37A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD37A2 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#747F9F
Tritanopia (blue-blind)
#DA3968
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd37a2; /* rgb */ color: rgb(205, 55, 162); /* oklch */ color: oklch(59.6% 0.214 341.9);
Tailwind
colors: {
custom: {
50: '#e07cbd',
500: '#cd37a2',
950: '#000000',
},
}SCSS
$custom: #cd37a2; $custom-light: #e07cbd; $custom-dark: #000000;
JSON
{
"hex": "#cd37a2",
"rgb": {
"r": 205,
"g": 55,
"b": 162
},
"hsl": {
"h": 317.2,
"s": 60,
"l": 50.98
},
"oklch": {
"l": 0.59628,
"c": 0.21361,
"h": 341.9
},
"luminance": 0.1832
}Semantic roles & 50–950 ramp
primary
#CD37A2
secondary
#8FD1A2
accent
#E37245
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81