#9D405C#9D405C
#9D405C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.4% C 0.127 H 4.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9D405C |
|---|---|
| RGB | rgb(157, 64, 92) |
| HSL | hsl(342, 42%, 43%) |
| HSV | hsv(342, 59%, 62%) |
| CMYK | cmyk(0%, 59.2%, 41.4%, 38.4%) |
| CIE-LAB | lab(40.59, 41.45, 3.21) |
| CIE-LCH | lch(40.59, 41.58, 4.43°) |
| OKLab | oklab(50.42% 0.1263 0.0088) |
| OKLCH | oklch(50.42% 0.127 4) |
| XYZ | xyz(17.6709, 11.6095, 11.4334) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.83
Light Maroon
#A24857
ΔE00 4.41
Dark Mauve
#874C62
ΔE00 6.15
Dark Rose
#B5485D
ΔE00 6.54
Purplish Red
#B0054B
ΔE00 7.36
Raspberry (survey)
#B00149
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D405C #409D81
analogous
#9D408A #9D405C #9D5240
triadic
#9D405C #5C9D40 #405C9D
tetradic
#9D405C #8A9D40 #409D81 #52409D
square
#9D405C #8A9D40 #409D81 #52409D
split-complementary
#9D405C #409D52 #408A9D
monochromatic
#461D29 #722E43 #9D405C #BD5D7A #CF899E
Accessibility & contrast
On white
6.32
#9D405C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9D405C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D405C
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D405C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D405C | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545D
Deuteranopia (green-blind)
#6A665A
Tritanopia (blue-blind)
#AA364B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9d405c; /* rgb */ color: rgb(157, 64, 92); /* oklch */ color: oklch(50.4% 0.127 4.0);
Tailwind
colors: {
custom: {
50: '#be798a',
500: '#9d405c',
950: '#000000',
},
}SCSS
$custom: #9d405c; $custom-light: #be798a; $custom-dark: #000000;
JSON
{
"hex": "#9d405c",
"rgb": {
"r": 157,
"g": 64,
"b": 92
},
"hsl": {
"h": 341.935,
"s": 42.081,
"l": 43.333
},
"oklch": {
"l": 0.50416,
"c": 0.12663,
"h": 4
},
"luminance": 0.11608
}Semantic roles & 50–950 ramp
primary
#9D405C
secondary
#7FB9A8
accent
#D2AD56
background
#FCF7F8
surface
#F8EEF0
border
#D1C9CB
text
#13090B
muted
#827B7C