#D842B2#D842B2
#D842B2 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.218 H 339.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D842B2 |
|---|---|
| RGB | rgb(216, 66, 178) |
| HSL | hsl(315, 66%, 55%) |
| HSV | hsv(315, 69%, 85%) |
| CMYK | cmyk(0%, 69.4%, 17.6%, 15.3%) |
| CIE-LAB | lab(53.72, 68.80, -27.97) |
| CIE-LCH | lch(53.72, 74.27, 337.87°) |
| OKLab | oklab(62.98% 0.2046 -0.0755) |
| OKLCH | oklch(62.98% 0.218 339.7) |
| XYZ | xyz(38.3040, 21.7133, 44.2846) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.89
Purpleish Pink
#DF4EC8
ΔE00 4.24
Purpley Pink
#C83CB9
ΔE00 4.51
Purplish Pink
#CE5DAE
ΔE00 4.51
Hot Magenta
#F504C9
ΔE00 5.09
Bright Pink
#FE01B1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D842B2 #42D868
analogous
#B342D8 #D842B2 #D84267
triadic
#D842B2 #B2D842 #42B2D8
tetradic
#D842B2 #D8B342 #42D868 #4267D8
square
#D842B2 #D8B342 #42D868 #4267D8
split-complementary
#D842B2 #67D842 #42D8B3
monochromatic
#841B6A #B72692 #D842B2 #E275C7 #EDA7DB
Accessibility & contrast
On white
3.93
#D842B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#D842B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D842B2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D842B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D842B2 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#7B89AE
Tritanopia (blue-blind)
#E44774
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d842b2; /* rgb */ color: rgb(216, 66, 178); /* oklch */ color: oklch(63.0% 0.218 339.7);
Tailwind
colors: {
custom: {
50: '#e882c9',
500: '#d842b2',
950: '#000000',
},
}SCSS
$custom: #d842b2; $custom-light: #e882c9; $custom-dark: #000000;
JSON
{
"hex": "#d842b2",
"rgb": {
"r": 216,
"g": 66,
"b": 178
},
"hsl": {
"h": 315.2,
"s": 65.789,
"l": 55.294
},
"oklch": {
"l": 0.62984,
"c": 0.21811,
"h": 339.7
},
"luminance": 0.2171
}Semantic roles & 50–950 ramp
primary
#D842B2
secondary
#9CDAAB
accent
#E96A3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82