#9F2A4A#9F2A4A
#9F2A4A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.153 H 9.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2A4A |
|---|---|
| RGB | rgb(159, 42, 74) |
| HSL | hsl(344, 58%, 39%) |
| HSV | hsv(344, 74%, 62%) |
| CMYK | cmyk(0%, 73.6%, 53.5%, 37.6%) |
| CIE-LAB | lab(36.97, 49.82, 9.52) |
| CIE-LCH | lch(36.97, 50.72, 10.82°) |
| OKLab | oklab(47.63% 0.1514 0.0243) |
| OKLCH | oklch(47.63% 0.153 9.1) |
| XYZ | xyz(16.3635, 9.5235, 7.4538) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.69
Raspberry (survey)
#B00149
ΔE00 3.73
Cranberry
#9E003A
ΔE00 4.42
Berry
#990F4B
ΔE00 4.92
Purple Red
#990147
ΔE00 5.15
Light Burgundy
#A8415B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2A4A #2A9F7F
analogous
#9F2A85 #9F2A4A #9F452A
triadic
#9F2A4A #4A9F2A #2A4A9F
tetradic
#9F2A4A #859F2A #2A9F7F #452A9F
square
#9F2A4A #859F2A #2A9F7F #452A9F
split-complementary
#9F2A4A #2A9F45 #2A859F
monochromatic
#3E101D #6F1D33 #9F2A4A #CB3B62 #D86B89
Accessibility & contrast
On white
7.23
#9F2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9F2A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2A4A
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2A4A | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#666047
Tritanopia (blue-blind)
#AE0E37
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2a4a; /* rgb */ color: rgb(159, 42, 74); /* oklch */ color: oklch(47.6% 0.153 9.1);
Tailwind
colors: {
custom: {
50: '#c16d7c',
500: '#9f2a4a',
950: '#000000',
},
}SCSS
$custom: #9f2a4a; $custom-light: #c16d7c; $custom-dark: #000000;
JSON
{
"hex": "#9f2a4a",
"rgb": {
"r": 159,
"g": 42,
"b": 74
},
"hsl": {
"h": 343.59,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.47634,
"c": 0.15332,
"h": 9.1
},
"luminance": 0.09521
}Semantic roles & 50–950 ramp
primary
#9F2A4A
secondary
#66BFA6
accent
#E1B746
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B