#9D2F4E#9D2F4E
#9D2F4E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.146 H 7.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F4E |
|---|---|
| RGB | rgb(157, 47, 78) |
| HSL | hsl(343, 54%, 40%) |
| HSV | hsv(343, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 50.3%, 38.4%) |
| CIE-LAB | lab(37.40, 47.62, 7.50) |
| CIE-LCH | lch(37.40, 48.21, 8.95°) |
| OKLab | oklab(47.91% 0.145 0.0195) |
| OKLCH | oklch(47.91% 0.146 7.6) |
| XYZ | xyz(16.2976, 9.7533, 8.2306) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.35
Raspberry (survey)
#B00149
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.64
Berry
#990F4B
ΔE00 4.87
Purple Red
#990147
ΔE00 5.34
Cranberry
#9E003A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F4E #2F9D7E
analogous
#9D2F85 #9D2F4E #9D472F
triadic
#9D2F4E #4E9D2F #2F4E9D
tetradic
#9D2F4E #859D2F #2F9D7E #472F9D
square
#9D2F4E #859D2F #2F9D7E #472F9D
split-complementary
#9D2F4E #2F9D47 #2F859D
monochromatic
#3F131F #6E2137 #9D2F4E #C74368 #D5728E
Accessibility & contrast
On white
7.12
#9D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9D2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2F4E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F4E | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AB1B3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d2f4e; /* rgb */ color: rgb(157, 47, 78); /* oklch */ color: oklch(47.9% 0.146 7.6);
Tailwind
colors: {
custom: {
50: '#bf6f7f',
500: '#9d2f4e',
950: '#000000',
},
}SCSS
$custom: #9d2f4e; $custom-light: #bf6f7f; $custom-dark: #000000;
JSON
{
"hex": "#9d2f4e",
"rgb": {
"r": 157,
"g": 47,
"b": 78
},
"hsl": {
"h": 343.091,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.47912,
"c": 0.14629,
"h": 7.6
},
"luminance": 0.09751
}Semantic roles & 50–950 ramp
primary
#9D2F4E
secondary
#6BBCA6
accent
#DDB44B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C