#9A1F4D#9A1F4D
#9A1F4D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.161 H 4.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F4D |
|---|---|
| RGB | rgb(154, 31, 77) |
| HSL | hsl(338, 66%, 36%) |
| HSV | hsv(338, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 50%, 39.6%) |
| CIE-LAB | lab(34.78, 52.27, 4.34) |
| CIE-LCH | lch(34.78, 52.45, 4.75°) |
| OKLab | oklab(45.87% 0.1601 0.0116) |
| OKLCH | oklch(45.87% 0.161 4.1) |
| XYZ | xyz(15.1573, 8.3879, 7.8406) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.72
Purple Red
#990147
ΔE00 2.44
Violet Red
#A50055
ΔE00 3.34
Mulberry
#920A4E
ΔE00 3.87
Purplish Red
#B0054B
ΔE00 4.44
Dark Fuchsia
#9D0759
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F4D #1F9A6C
analogous
#9A1F8B #9A1F4D #9A2F1F
triadic
#9A1F4D #4D9A1F #1F4D9A
tetradic
#9A1F4D #8B9A1F #1F9A6C #2F1F9A
square
#9A1F4D #8B9A1F #1F9A6C #2F1F9A
split-complementary
#9A1F4D #1F9A2F #1F8B9A
monochromatic
#340A1A #671534 #9A1F4D #CD2966 #DD5689
Accessibility & contrast
On white
7.84
#9A1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F4D
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F4D | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#5F5A4A
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a1f4d; /* rgb */ color: rgb(154, 31, 77); /* oklch */ color: oklch(45.9% 0.161 4.1);
Tailwind
colors: {
custom: {
50: '#bd687e',
500: '#9a1f4d',
950: '#000000',
},
}SCSS
$custom: #9a1f4d; $custom-light: #bd687e; $custom-dark: #000000;
JSON
{
"hex": "#9a1f4d",
"rgb": {
"r": 154,
"g": 31,
"b": 77
},
"hsl": {
"h": 337.561,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45865,
"c": 0.16051,
"h": 4.1
},
"luminance": 0.08386
}Semantic roles & 50–950 ramp
primary
#9A1F4D
secondary
#54C198
accent
#E9A93E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B