#9A1F4E#9A1F4E
#9A1F4E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.161 H 3.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F4E |
|---|---|
| RGB | rgb(154, 31, 78) |
| HSL | hsl(337, 66%, 36%) |
| HSV | hsv(337, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 49.4%, 39.6%) |
| CIE-LAB | lab(34.81, 52.36, 3.73) |
| CIE-LCH | lch(34.81, 52.49, 4.08°) |
| OKLab | oklab(45.9% 0.1605 0.0101) |
| OKLCH | oklch(45.9% 0.161 3.6) |
| XYZ | xyz(15.1929, 8.4022, 8.0280) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.65
Purple Red
#990147
ΔE00 2.47
Violet Red
#A50055
ΔE00 3.13
Mulberry
#920A4E
ΔE00 3.67
Dark Fuchsia
#9D0759
ΔE00 4.34
Reddish Purple
#910951
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F4E #1F9A6B
analogous
#9A1F8C #9A1F4E #9A2E1F
triadic
#9A1F4E #4E9A1F #1F4E9A
tetradic
#9A1F4E #8C9A1F #1F9A6B #2E1F9A
square
#9A1F4E #8C9A1F #1F9A6B #2E1F9A
split-complementary
#9A1F4E #1F9A2E #1F8C9A
monochromatic
#340A1A #671534 #9A1F4E #CD2968 #DD568A
Accessibility & contrast
On white
7.84
#9A1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F4E
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F4E | 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)
#3E434F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A80034
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a1f4e; /* rgb */ color: rgb(154, 31, 78); /* oklch */ color: oklch(45.9% 0.161 3.6);
Tailwind
colors: {
custom: {
50: '#bd687f',
500: '#9a1f4e',
950: '#000000',
},
}SCSS
$custom: #9a1f4e; $custom-light: #bd687f; $custom-dark: #000000;
JSON
{
"hex": "#9a1f4e",
"rgb": {
"r": 154,
"g": 31,
"b": 78
},
"hsl": {
"h": 337.073,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45895,
"c": 0.16078,
"h": 3.6
},
"luminance": 0.084
}Semantic roles & 50–950 ramp
primary
#9A1F4E
secondary
#54C197
accent
#E9A83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C