#D431AF#D431AF
#D431AF is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.9% C 0.232 H 339.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D431AF |
|---|---|
| RGB | rgb(212, 49, 175) |
| HSL | hsl(314, 65%, 51%) |
| HSV | hsv(314, 77%, 83%) |
| CMYK | cmyk(0%, 76.9%, 17.5%, 16.9%) |
| CIE-LAB | lab(51.03, 72.81, -30.46) |
| CIE-LCH | lch(51.03, 78.93, 337.30°) |
| OKLab | oklab(60.86% 0.2167 -0.0825) |
| OKLCH | oklch(60.86% 0.232 339.2) |
| XYZ | xyz(35.9885, 19.2924, 42.3776) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.09
Pinky Purple
#C94CBE
ΔE00 4.47
Hot Magenta
#F504C9
ΔE00 5.89
Purpleish Pink
#DF4EC8
ΔE00 6.45
Fuchsia (survey)
#ED0DD9
ΔE00 6.79
Purplish Pink
#CE5DAE
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D431AF #31D456
analogous
#A831D4 #D431AF #D4315D
triadic
#D431AF #AFD431 #31AFD4
tetradic
#D431AF #D4A831 #31D456 #315DD4
square
#D431AF #D4A831 #31D456 #315DD4
split-complementary
#D431AF #5DD431 #31D4A8
monochromatic
#73185E #A52388 #D431AF #DF64C3 #E996D6
Accessibility & contrast
On white
4.32
#D431AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#D431AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D431AF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D431AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D431AF | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#E0396E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #d431af; /* rgb */ color: rgb(212, 49, 175); /* oklch */ color: oklch(60.9% 0.232 339.2);
Tailwind
colors: {
custom: {
50: '#e67bc7',
500: '#d431af',
950: '#000000',
},
}SCSS
$custom: #d431af; $custom-light: #e67bc7; $custom-dark: #000000;
JSON
{
"hex": "#d431af",
"rgb": {
"r": 212,
"g": 49,
"b": 175
},
"hsl": {
"h": 313.62,
"s": 65.462,
"l": 51.176
},
"oklch": {
"l": 0.60864,
"c": 0.23189,
"h": 339.2
},
"luminance": 0.19289
}Semantic roles & 50–950 ramp
primary
#D431AF
secondary
#8CD49D
accent
#E8663F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82