#D938AF#D938AF
#D938AF is a light, highly saturated pink. Relative luminance 0.207; OKLCH L 62.2% C 0.228 H 340.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D938AF |
|---|---|
| RGB | rgb(217, 56, 175) |
| HSL | hsl(316, 68%, 54%) |
| HSV | hsv(316, 74%, 85%) |
| CMYK | cmyk(0%, 74.2%, 19.4%, 14.9%) |
| CIE-LAB | lab(52.60, 71.92, -27.95) |
| CIE-LCH | lch(52.60, 77.16, 338.76°) |
| OKLab | oklab(62.16% 0.2151 -0.0754) |
| OKLCH | oklch(62.16% 0.228 340.7) |
| XYZ | xyz(37.7684, 20.6790, 42.5515) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 4.50
Hot Magenta
#F504C9
ΔE00 5.14
Purpleish Pink
#DF4EC8
ΔE00 5.35
Purplish Pink
#CE5DAE
ΔE00 5.67
Bright Pink
#FE01B1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D938AF #38D962
analogous
#B238D9 #D938AF #D9385E
triadic
#D938AF #AFD938 #38AFD9
tetradic
#D938AF #D9B238 #38D962 #385ED9
square
#D938AF #D9B238 #38D962 #385ED9
split-complementary
#D938AF #5ED938 #38D9B2
monochromatic
#7E1864 #B2228C #D938AF #E36BC4 #ED9FD8
Accessibility & contrast
On white
4.09
#D938AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#D938AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D938AF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D938AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D938AF | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#7987AB
Tritanopia (blue-blind)
#E63C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d938af; /* rgb */ color: rgb(217, 56, 175); /* oklch */ color: oklch(62.2% 0.228 340.7);
Tailwind
colors: {
custom: {
50: '#e97ec7',
500: '#d938af',
950: '#000000',
},
}SCSS
$custom: #d938af; $custom-light: #e97ec7; $custom-dark: #000000;
JSON
{
"hex": "#d938af",
"rgb": {
"r": 217,
"g": 56,
"b": 175
},
"hsl": {
"h": 315.652,
"s": 67.932,
"l": 53.529
},
"oklch": {
"l": 0.62157,
"c": 0.2279,
"h": 340.7
},
"luminance": 0.20675
}Semantic roles & 50–950 ramp
primary
#D938AF
secondary
#94D9A6
accent
#EB6A3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82