#D642AF#D642AF
#D642AF is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.5% C 0.215 H 340.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D642AF |
|---|---|
| RGB | rgb(214, 66, 175) |
| HSL | hsl(316, 64%, 55%) |
| HSV | hsv(316, 69%, 84%) |
| CMYK | cmyk(0%, 69.2%, 18.2%, 16.1%) |
| CIE-LAB | lab(53.27, 67.89, -26.95) |
| CIE-LCH | lch(53.27, 73.05, 338.35°) |
| OKLab | oklab(62.55% 0.2023 -0.0727) |
| OKLCH | oklch(62.55% 0.215 340.2) |
| XYZ | xyz(37.4186, 21.2913, 42.6881) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.07
Purpley Pink
#C83CB9
ΔE00 4.47
Purplish Pink
#CE5DAE
ΔE00 4.52
Purpleish Pink
#DF4EC8
ΔE00 4.78
Hot Magenta
#F504C9
ΔE00 5.55
Bright Pink
#FE01B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D642AF #42D669
analogous
#B342D6 #D642AF #D64265
triadic
#D642AF #AFD642 #42AFD6
tetradic
#D642AF #D6B342 #42D669 #4265D6
square
#D642AF #D6B342 #42D669 #4265D6
split-complementary
#D642AF #65D642 #42D6B3
monochromatic
#821C67 #B4278F #D642AF #E174C4 #ECA7DA
Accessibility & contrast
On white
3.99
#D642AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#D642AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D642AF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D642AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D642AF | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#7A88AB
Tritanopia (blue-blind)
#E24673
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #d642af; /* rgb */ color: rgb(214, 66, 175); /* oklch */ color: oklch(62.5% 0.215 340.2);
Tailwind
colors: {
custom: {
50: '#e782c7',
500: '#d642af',
950: '#000000',
},
}SCSS
$custom: #d642af; $custom-light: #e782c7; $custom-dark: #000000;
JSON
{
"hex": "#d642af",
"rgb": {
"r": 214,
"g": 66,
"b": 175
},
"hsl": {
"h": 315.811,
"s": 64.348,
"l": 54.902
},
"oklch": {
"l": 0.62549,
"c": 0.21491,
"h": 340.2
},
"luminance": 0.21288
}Semantic roles & 50–950 ramp
primary
#D642AF
secondary
#9BD9AB
accent
#E76C40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82