#D842B3#D842B3
#D842B3 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.219 H 339.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D842B3 |
|---|---|
| RGB | rgb(216, 66, 179) |
| HSL | hsl(315, 66%, 55%) |
| HSV | hsv(315, 69%, 85%) |
| CMYK | cmyk(0%, 69.4%, 17.1%, 15.3%) |
| CIE-LAB | lab(53.76, 68.94, -28.49) |
| CIE-LCH | lch(53.76, 74.59, 337.55°) |
| OKLab | oklab(63.03% 0.2048 -0.077) |
| OKLCH | oklch(63.03% 0.219 339.4) |
| XYZ | xyz(38.4047, 21.7537, 44.8153) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.75
Purpleish Pink
#DF4EC8
ΔE00 4.11
Purpley Pink
#C83CB9
ΔE00 4.41
Purplish Pink
#CE5DAE
ΔE00 4.56
Hot Magenta
#F504C9
ΔE00 5.00
Bright Pink
#FE01B1
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D842B3 #42D867
analogous
#B242D8 #D842B3 #D84268
triadic
#D842B3 #B3D842 #42B3D8
tetradic
#D842B3 #D8B242 #42D867 #4268D8
square
#D842B3 #D8B242 #42D867 #4268D8
split-complementary
#D842B3 #68D842 #42D8B2
monochromatic
#841B6A #B72693 #D842B3 #E275C7 #EDA7DC
Accessibility & contrast
On white
3.93
#D842B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#D842B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D842B3
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D842B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D842B3 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#E44775
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d842b3; /* rgb */ color: rgb(216, 66, 179); /* oklch */ color: oklch(63.0% 0.219 339.4);
Tailwind
colors: {
custom: {
50: '#e882ca',
500: '#d842b3',
950: '#000000',
},
}SCSS
$custom: #d842b3; $custom-light: #e882ca; $custom-dark: #000000;
JSON
{
"hex": "#d842b3",
"rgb": {
"r": 216,
"g": 66,
"b": 179
},
"hsl": {
"h": 314.8,
"s": 65.789,
"l": 55.294
},
"oklch": {
"l": 0.63029,
"c": 0.21876,
"h": 339.4
},
"luminance": 0.2175
}Semantic roles & 50–950 ramp
primary
#D842B3
secondary
#9CDAAB
accent
#E9693F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82