#9D2A47#9D2A47
#9D2A47 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.151 H 10.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2A47 |
|---|---|
| RGB | rgb(157, 42, 71) |
| HSL | hsl(345, 58%, 39%) |
| HSV | hsv(345, 73%, 62%) |
| CMYK | cmyk(0%, 73.2%, 54.8%, 38.4%) |
| CIE-LAB | lab(36.52, 48.96, 10.75) |
| CIE-LCH | lch(36.52, 50.12, 12.39°) |
| OKLab | oklab(47.21% 0.1484 0.0273) |
| OKLCH | oklch(47.21% 0.151 10.4) |
| XYZ | xyz(15.8714, 9.2811, 6.9157) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 4.03
Raspberry (survey)
#B00149
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.16
Rouge
#AB1239
ΔE00 4.94
Berry
#990F4B
ΔE00 5.33
Purple Red
#990147
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2A47 #2A9D80
analogous
#9D2A81 #9D2A47 #9D472A
triadic
#9D2A47 #479D2A #2A479D
tetradic
#9D2A47 #819D2A #2A9D80 #472A9D
square
#9D2A47 #819D2A #2A9D80 #472A9D
split-complementary
#9D2A47 #2A9D47 #2A819D
monochromatic
#3C101B #6D1D31 #9D2A47 #CA3A5E #D76A86
Accessibility & contrast
On white
7.35
#9D2A47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9D2A47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2A47
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2A47 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474747
Deuteranopia (green-blind)
#655E44
Tritanopia (blue-blind)
#AC0E36
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d2a47; /* rgb */ color: rgb(157, 42, 71); /* oklch */ color: oklch(47.2% 0.151 10.4);
Tailwind
colors: {
custom: {
50: '#c06d7a',
500: '#9d2a47',
950: '#000000',
},
}SCSS
$custom: #9d2a47; $custom-light: #c06d7a; $custom-dark: #000000;
JSON
{
"hex": "#9d2a47",
"rgb": {
"r": 157,
"g": 42,
"b": 71
},
"hsl": {
"h": 344.87,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.47205,
"c": 0.15091,
"h": 10.4
},
"luminance": 0.09279
}Semantic roles & 50–950 ramp
primary
#9D2A47
secondary
#65BEA7
accent
#E1BA47
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130809
muted
#827B7B