#D451AF#D451AF
#D451AF is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.8% C 0.194 H 340.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D451AF |
|---|---|
| RGB | rgb(212, 81, 175) |
| HSL | hsl(317, 60%, 57%) |
| HSV | hsv(317, 62%, 83%) |
| CMYK | cmyk(0%, 61.8%, 17.5%, 16.9%) |
| CIE-LAB | lab(55.05, 61.54, -24.22) |
| CIE-LCH | lch(55.05, 66.14, 338.52°) |
| OKLab | oklab(63.79% 0.1827 -0.0651) |
| OKLCH | oklch(63.79% 0.194 340.4) |
| XYZ | xyz(37.8325, 22.9804, 42.9923) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.21
Purpleish Pink
#DF4EC8
ΔE00 4.35
Pinky Purple
#C94CBE
ΔE00 4.67
Pale Magenta
#D767AD
ΔE00 5.11
Purpley Pink
#C83CB9
ΔE00 6.15
Hot Magenta
#F504C9
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D451AF #51D476
analogous
#B851D4 #D451AF #D4516D
triadic
#D451AF #AFD451 #51AFD4
tetradic
#D451AF #D4B851 #51D476 #516DD4
square
#D451AF #D4B851 #51D476 #516DD4
split-complementary
#D451AF #6DD451 #51D4B8
monochromatic
#89226C #BA2E92 #D451AF #E082C6 #ECB3DC
Accessibility & contrast
On white
3.75
#D451AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#D451AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D451AF
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D451AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D451AF | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5976B2
Deuteranopia (green-blind)
#808BAC
Tritanopia (blue-blind)
#E05479
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #d451af; /* rgb */ color: rgb(212, 81, 175); /* oklch */ color: oklch(63.8% 0.194 340.4);
Tailwind
colors: {
custom: {
50: '#e489c7',
500: '#d451af',
950: '#000000',
},
}SCSS
$custom: #d451af; $custom-light: #e489c7; $custom-dark: #000000;
JSON
{
"hex": "#d451af",
"rgb": {
"r": 212,
"g": 81,
"b": 175
},
"hsl": {
"h": 316.947,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.63792,
"c": 0.19398,
"h": 340.4
},
"luminance": 0.22977
}Semantic roles & 50–950 ramp
primary
#D451AF
secondary
#A6DBB5
accent
#E47144
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82