#D542AF#D542AF
#D542AF is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.214 H 340.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #D542AF |
|---|---|
| RGB | rgb(213, 66, 175) |
| HSL | hsl(316, 64%, 55%) |
| HSV | hsv(316, 69%, 84%) |
| CMYK | cmyk(0%, 69%, 17.8%, 16.5%) |
| CIE-LAB | lab(53.10, 67.64, -27.22) |
| CIE-LCH | lch(53.10, 72.91, 338.08°) |
| OKLab | oklab(62.4% 0.2013 -0.0734) |
| OKLCH | oklch(62.4% 0.214 340) |
| XYZ | xyz(37.1276, 21.1412, 42.6744) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.94
Purpley Pink
#C83CB9
ΔE00 4.28
Purplish Pink
#CE5DAE
ΔE00 4.59
Purpleish Pink
#DF4EC8
ΔE00 4.85
Hot Magenta
#F504C9
ΔE00 5.63
Bright Pink
#FE01B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D542AF #42D568
analogous
#B142D5 #D542AF #D54266
triadic
#D542AF #AFD542 #42AFD5
tetradic
#D542AF #D5B142 #42D568 #4266D5
square
#D542AF #D5B142 #42D568 #4266D5
split-complementary
#D542AF #66D542 #42D5B1
monochromatic
#801C66 #B2288E #D542AF #E074C4 #EBA6D9
Accessibility & contrast
On white
4.02
#D542AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#D542AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D542AF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D542AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D542AF | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7A87AB
Tritanopia (blue-blind)
#E14673
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #d542af; /* rgb */ color: rgb(213, 66, 175); /* oklch */ color: oklch(62.4% 0.214 340.0);
Tailwind
colors: {
custom: {
50: '#e682c7',
500: '#d542af',
950: '#000000',
},
}SCSS
$custom: #d542af; $custom-light: #e682c7; $custom-dark: #000000;
JSON
{
"hex": "#d542af",
"rgb": {
"r": 213,
"g": 66,
"b": 175
},
"hsl": {
"h": 315.51,
"s": 63.636,
"l": 54.706
},
"oklch": {
"l": 0.62399,
"c": 0.21427,
"h": 340
},
"luminance": 0.21138
}Semantic roles & 50–950 ramp
primary
#D542AF
secondary
#9AD8AA
accent
#E76C41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82