#9A1F3F#9A1F3F
#9A1F3F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 11.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F3F |
|---|---|
| RGB | rgb(154, 31, 63) |
| HSL | hsl(344, 66%, 36%) |
| HSV | hsv(344, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 59.1%, 39.6%) |
| CIE-LAB | lab(34.42, 51.16, 12.94) |
| CIE-LCH | lch(34.42, 52.77, 14.20°) |
| OKLab | oklab(45.48% 0.1546 0.0322) |
| OKLCH | oklch(45.48% 0.158 11.8) |
| XYZ | xyz(14.7151, 8.2110, 5.5117) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.22
Rouge
#AB1239
ΔE00 4.21
Red Wine
#8C0034
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 4.70
Purple Red
#990147
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F3F #1F9A7A
analogous
#9A1F7D #9A1F3F #9A3D1F
triadic
#9A1F3F #3F9A1F #1F3F9A
tetradic
#9A1F3F #7D9A1F #1F9A7A #3D1F9A
square
#9A1F3F #7D9A1F #1F9A7A #3D1F9A
split-complementary
#9A1F3F #1F9A3D #1F7D9A
monochromatic
#340A15 #67152A #9A1F3F #CD2954 #DD5679
Accessibility & contrast
On white
7.95
#9A1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9A1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F3F
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F3F | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#A9002D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a1f3f; /* rgb */ color: rgb(154, 31, 63); /* oklch */ color: oklch(45.5% 0.158 11.8);
Tailwind
colors: {
custom: {
50: '#be6873',
500: '#9a1f3f',
950: '#000000',
},
}SCSS
$custom: #9a1f3f; $custom-light: #be6873; $custom-dark: #000000;
JSON
{
"hex": "#9a1f3f",
"rgb": {
"r": 154,
"g": 31,
"b": 63
},
"hsl": {
"h": 344.39,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45483,
"c": 0.15795,
"h": 11.8
},
"luminance": 0.08209
}Semantic roles & 50–950 ramp
primary
#9A1F3F
secondary
#54C1A4
accent
#E9BD3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B