#D45F9D#D45F9D
#D45F9D is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.8% C 0.162 H 349.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D45F9D |
|---|---|
| RGB | rgb(212, 95, 157) |
| HSL | hsl(328, 58%, 60%) |
| HSV | hsv(328, 55%, 83%) |
| CMYK | cmyk(0%, 55.2%, 25.9%, 16.9%) |
| CIE-LAB | lab(56.70, 52.79, -11.23) |
| CIE-LCH | lch(56.70, 53.98, 347.99°) |
| OKLab | oklab(64.79% 0.1594 -0.0293) |
| OKLCH | oklch(64.79% 0.162 349.6) |
| XYZ | xyz(37.3307, 24.6192, 34.6777) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.37
Purplish Pink
#CE5DAE
ΔE00 4.71
Barbie Pink
#FE46A5
ΔE00 6.71
Palevioletred
#DB7093
ΔE00 6.84
Medium Pink
#F36196
ΔE00 7.30
Blush
#DE5D83
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45F9D #5FD496
analogous
#D05FD4 #D45F9D #D45F63
triadic
#D45F9D #9DD45F #5F9DD4
tetradic
#D45F9D #D4D05F #5FD496 #5F63D4
square
#D45F9D #D4D05F #5FD496 #5F63D4
split-complementary
#D45F9D #63D45F #5FD4D0
monochromatic
#91275F #C2347F #D45F9D #E18FBB #EEBFD8
Accessibility & contrast
On white
3.55
#D45F9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#D45F9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45F9D
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45F9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45F9D | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7B9F
Deuteranopia (green-blind)
#8C909A
Tritanopia (blue-blind)
#E25B77
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #d45f9d; /* rgb */ color: rgb(212, 95, 157); /* oklch */ color: oklch(64.8% 0.162 349.6);
Tailwind
colors: {
custom: {
50: '#e491ba',
500: '#d45f9d',
950: '#000000',
},
}SCSS
$custom: #d45f9d; $custom-light: #e491ba; $custom-dark: #000000;
JSON
{
"hex": "#d45f9d",
"rgb": {
"r": 212,
"g": 95,
"b": 157
},
"hsl": {
"h": 328.205,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.64794,
"c": 0.16209,
"h": 349.6
},
"luminance": 0.24616
}Semantic roles & 50–950 ramp
primary
#D45F9D
secondary
#B1DEC6
accent
#C56E20
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#160D11
muted
#847E80