#D938B2#D938B2
#D938B2 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.3% C 0.230 H 339.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D938B2 |
|---|---|
| RGB | rgb(217, 56, 178) |
| HSL | hsl(315, 68%, 54%) |
| HSV | hsv(315, 74%, 85%) |
| CMYK | cmyk(0%, 74.2%, 18%, 14.9%) |
| CIE-LAB | lab(52.73, 72.32, -29.50) |
| CIE-LCH | lch(52.73, 78.10, 337.81°) |
| OKLab | oklab(62.3% 0.2155 -0.0797) |
| OKLCH | oklch(62.3% 0.23 339.7) |
| XYZ | xyz(38.0664, 20.7982, 44.1205) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.87
Pinky Purple
#C94CBE
ΔE00 4.09
Hot Magenta
#F504C9
ΔE00 4.84
Purpleish Pink
#DF4EC8
ΔE00 5.00
Purplish Pink
#CE5DAE
ΔE00 5.75
Bright Pink
#FE01B1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D938B2 #38D95F
analogous
#AF38D9 #D938B2 #D93861
triadic
#D938B2 #B2D938 #38B2D9
tetradic
#D938B2 #D9AF38 #38D95F #3861D9
square
#D938B2 #D9AF38 #38D95F #3861D9
split-complementary
#D938B2 #61D938 #38D9AF
monochromatic
#7E1866 #B2228F #D938B2 #E36BC6 #ED9FDA
Accessibility & contrast
On white
4.07
#D938B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#D938B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D938B2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D938B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D938B2 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#7887AE
Tritanopia (blue-blind)
#E63E71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d938b2; /* rgb */ color: rgb(217, 56, 178); /* oklch */ color: oklch(62.3% 0.230 339.7);
Tailwind
colors: {
custom: {
50: '#e97ec9',
500: '#d938b2',
950: '#000000',
},
}SCSS
$custom: #d938b2; $custom-light: #e97ec9; $custom-dark: #000000;
JSON
{
"hex": "#d938b2",
"rgb": {
"r": 217,
"g": 56,
"b": 178
},
"hsl": {
"h": 314.534,
"s": 67.932,
"l": 53.529
},
"oklch": {
"l": 0.62295,
"c": 0.22976,
"h": 339.7
},
"luminance": 0.20794
}Semantic roles & 50–950 ramp
primary
#D938B2
secondary
#94D9A5
accent
#EB673D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82