#9D2F4F#9D2F4F
#9D2F4F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.146 H 7.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F4F |
|---|---|
| RGB | rgb(157, 47, 79) |
| HSL | hsl(343, 54%, 40%) |
| HSV | hsv(343, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 49.7%, 38.4%) |
| CIE-LAB | lab(37.42, 47.71, 6.90) |
| CIE-LCH | lch(37.42, 48.21, 8.22°) |
| OKLab | oklab(47.94% 0.1454 0.018) |
| OKLCH | oklch(47.94% 0.146 7.1) |
| XYZ | xyz(16.3338, 9.7678, 8.4209) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.56
Light Burgundy
#A8415B
ΔE00 4.63
Berry
#990F4B
ΔE00 4.72
Purple Red
#990147
ΔE00 5.24
Violet Red
#A50055
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F4F #2F9D7D
analogous
#9D2F86 #9D2F4F #9D462F
triadic
#9D2F4F #4F9D2F #2F4F9D
tetradic
#9D2F4F #869D2F #2F9D7D #462F9D
square
#9D2F4F #869D2F #2F9D7D #462F9D
split-complementary
#9D2F4F #2F9D46 #2F869D
monochromatic
#3F1320 #6E2137 #9D2F4F #C74369 #D5728F
Accessibility & contrast
On white
7.11
#9D2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9D2F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2F4F
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F4F | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#AB1C3C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d2f4f; /* rgb */ color: rgb(157, 47, 79); /* oklch */ color: oklch(47.9% 0.146 7.1);
Tailwind
colors: {
custom: {
50: '#bf6f80',
500: '#9d2f4f',
950: '#000000',
},
}SCSS
$custom: #9d2f4f; $custom-light: #bf6f80; $custom-dark: #000000;
JSON
{
"hex": "#9d2f4f",
"rgb": {
"r": 157,
"g": 47,
"b": 79
},
"hsl": {
"h": 342.545,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.4794,
"c": 0.14649,
"h": 7.1
},
"luminance": 0.09766
}Semantic roles & 50–950 ramp
primary
#9D2F4F
secondary
#6BBCA5
accent
#DDB34B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C