#9A1F5B#9A1F5B
#9A1F5B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 356.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F5B |
|---|---|
| RGB | rgb(154, 31, 91) |
| HSL | hsl(331, 66%, 36%) |
| HSV | hsv(331, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 40.9%, 39.6%) |
| CIE-LAB | lab(35.22, 53.61, -4.07) |
| CIE-LCH | lch(35.22, 53.77, 355.65°) |
| OKLab | oklab(46.33% 0.1649 -0.01) |
| OKLCH | oklch(46.33% 0.165 356.5) |
| XYZ | xyz(15.7059, 8.6074, 10.7298) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 1.79
Deep Magenta
#A0025C
ΔE00 2.09
Dark Magenta
#960056
ΔE00 2.83
Violet Red
#A50055
ΔE00 2.99
Reddish Purple
#910951
ΔE00 3.14
Mulberry
#920A4E
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F5B #1F9A5E
analogous
#9A1F99 #9A1F5B #9A211F
triadic
#9A1F5B #5B9A1F #1F5B9A
tetradic
#9A1F5B #999A1F #1F9A5E #211F9A
square
#9A1F5B #999A1F #1F9A5E #211F9A
split-complementary
#9A1F5B #1F9A21 #1F999A
monochromatic
#340A1F #67153D #9A1F5B #CD2979 #DD5698
Accessibility & contrast
On white
7.72
#9A1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9A1F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F5B
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F5B | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5C5B58
Tritanopia (blue-blind)
#A7093A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a1f5b; /* rgb */ color: rgb(154, 31, 91); /* oklch */ color: oklch(46.3% 0.165 356.5);
Tailwind
colors: {
custom: {
50: '#bd6989',
500: '#9a1f5b',
950: '#000000',
},
}SCSS
$custom: #9a1f5b; $custom-light: #bd6989; $custom-dark: #000000;
JSON
{
"hex": "#9a1f5b",
"rgb": {
"r": 154,
"g": 31,
"b": 91
},
"hsl": {
"h": 330.732,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.4633,
"c": 0.1652,
"h": 356.5
},
"luminance": 0.08605
}Semantic roles & 50–950 ramp
primary
#9A1F5B
secondary
#54C18C
accent
#E9963E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C