#9D2E4F#9D2E4F
#9D2E4F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.8% C 0.148 H 6.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2E4F |
|---|---|
| RGB | rgb(157, 46, 79) |
| HSL | hsl(342, 55%, 40%) |
| HSV | hsv(342, 71%, 62%) |
| CMYK | cmyk(0%, 70.7%, 49.7%, 38.4%) |
| CIE-LAB | lab(37.28, 48.11, 6.69) |
| CIE-LCH | lch(37.28, 48.58, 7.92°) |
| OKLab | oklab(47.83% 0.1467 0.0175) |
| OKLCH | oklch(47.83% 0.148 6.8) |
| XYZ | xyz(16.2943, 9.6887, 8.4077) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.28
Raspberry (survey)
#B00149
ΔE00 4.48
Berry
#990F4B
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.78
Purple Red
#990147
ΔE00 5.04
Violet Red
#A50055
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2E4F #2E9D7C
analogous
#9D2E87 #9D2E4F #9D442E
triadic
#9D2E4F #4F9D2E #2E4F9D
tetradic
#9D2E4F #879D2E #2E9D7C #442E9D
square
#9D2E4F #879D2E #2E9D7C #442E9D
split-complementary
#9D2E4F #2E9D44 #2E879D
monochromatic
#3E121F #6E2037 #9D2E4F #C74169 #D5708E
Accessibility & contrast
On white
7.15
#9D2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9D2E4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2E4F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2E4F | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#AB1A3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d2e4f; /* rgb */ color: rgb(157, 46, 79); /* oklch */ color: oklch(47.8% 0.148 6.8);
Tailwind
colors: {
custom: {
50: '#bf6f80',
500: '#9d2e4f',
950: '#000000',
},
}SCSS
$custom: #9d2e4f; $custom-light: #bf6f80; $custom-dark: #000000;
JSON
{
"hex": "#9d2e4f",
"rgb": {
"r": 157,
"g": 46,
"b": 79
},
"hsl": {
"h": 342.162,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.47833,
"c": 0.14769,
"h": 6.8
},
"luminance": 0.09687
}Semantic roles & 50–950 ramp
primary
#9D2E4F
secondary
#6ABDA4
accent
#DEB24A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C