#D642B1#D642B1
#D642B1 is a light, highly saturated pink. Relative luminance 0.214; OKLCH L 62.6% C 0.216 H 339.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #D642B1 |
|---|---|
| RGB | rgb(214, 66, 177) |
| HSL | hsl(315, 64%, 55%) |
| HSV | hsv(315, 69%, 84%) |
| CMYK | cmyk(0%, 69.2%, 17.3%, 16.1%) |
| CIE-LAB | lab(53.35, 68.17, -27.99) |
| CIE-LCH | lch(53.35, 73.69, 337.68°) |
| OKLab | oklab(62.64% 0.2026 -0.0756) |
| OKLCH | oklch(62.64% 0.216 339.5) |
| XYZ | xyz(37.6165, 21.3704, 43.7303) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.75
Purpley Pink
#C83CB9
ΔE00 4.22
Purpleish Pink
#DF4EC8
ΔE00 4.51
Purplish Pink
#CE5DAE
ΔE00 4.59
Hot Magenta
#F504C9
ΔE00 5.35
Bright Pink
#FE01B1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D642B1 #42D667
analogous
#B142D6 #D642B1 #D64267
triadic
#D642B1 #B1D642 #42B1D6
tetradic
#D642B1 #D6B142 #42D667 #4267D6
square
#D642B1 #D6B142 #42D667 #4267D6
split-complementary
#D642B1 #67D642 #42D6B1
monochromatic
#821C68 #B42791 #D642B1 #E174C6 #ECA7DB
Accessibility & contrast
On white
3.98
#D642B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#D642B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D642B1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D642B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D642B1 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B4
Deuteranopia (green-blind)
#7A88AD
Tritanopia (blue-blind)
#E24774
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #d642b1; /* rgb */ color: rgb(214, 66, 177); /* oklch */ color: oklch(62.6% 0.216 339.5);
Tailwind
colors: {
custom: {
50: '#e782c8',
500: '#d642b1',
950: '#000000',
},
}SCSS
$custom: #d642b1; $custom-light: #e782c8; $custom-dark: #000000;
JSON
{
"hex": "#d642b1",
"rgb": {
"r": 214,
"g": 66,
"b": 177
},
"hsl": {
"h": 315,
"s": 64.348,
"l": 54.902
},
"oklch": {
"l": 0.62639,
"c": 0.21621,
"h": 339.5
},
"luminance": 0.21367
}Semantic roles & 50–950 ramp
primary
#D642B1
secondary
#9BD9AA
accent
#E76A40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82