#D237AB#D237AB
#D237AB is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.222 H 340.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D237AB |
|---|---|
| RGB | rgb(210, 55, 171) |
| HSL | hsl(315, 63%, 52%) |
| HSV | hsv(315, 74%, 82%) |
| CMYK | cmyk(0%, 73.8%, 18.6%, 17.6%) |
| CIE-LAB | lab(51.13, 70.05, -27.98) |
| CIE-LCH | lch(51.13, 75.43, 338.23°) |
| OKLab | oklab(60.81% 0.209 -0.0755) |
| OKLCH | oklch(60.81% 0.222 340.1) |
| XYZ | xyz(35.2962, 19.3778, 40.4016) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.55
Pinky Purple
#C94CBE
ΔE00 4.61
Hot Magenta
#F504C9
ΔE00 6.35
Purplish Pink
#CE5DAE
ΔE00 6.37
Purpleish Pink
#DF4EC8
ΔE00 6.53
Bright Pink
#FE01B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D237AB #37D25E
analogous
#AC37D2 #D237AB #D2375E
triadic
#D237AB #ABD237 #37ABD2
tetradic
#D237AB #D2AC37 #37D25E #375ED2
square
#D237AB #D2AC37 #37D25E #375ED2
split-complementary
#D237AB #5ED237 #37D2AC
monochromatic
#741A5E #A62586 #D237AB #DD69C0 #E89BD5
Accessibility & contrast
On white
4.31
#D237AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#D237AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D237AB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D237AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D237AB | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#DE3C6D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d237ab; /* rgb */ color: rgb(210, 55, 171); /* oklch */ color: oklch(60.8% 0.222 340.1);
Tailwind
colors: {
custom: {
50: '#e47dc4',
500: '#d237ab',
950: '#000000',
},
}SCSS
$custom: #d237ab; $custom-light: #e47dc4; $custom-dark: #000000;
JSON
{
"hex": "#d237ab",
"rgb": {
"r": 210,
"g": 55,
"b": 171
},
"hsl": {
"h": 315.097,
"s": 63.265,
"l": 51.961
},
"oklch": {
"l": 0.60813,
"c": 0.22227,
"h": 340.1
},
"luminance": 0.19374
}Semantic roles & 50–950 ramp
primary
#D237AB
secondary
#90D4A2
accent
#E66B41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81