#9A1B47#9A1B47
#9A1B47 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 6.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1B47 |
|---|---|
| RGB | rgb(154, 27, 71) |
| HSL | hsl(339, 70%, 35%) |
| HSV | hsv(339, 82%, 60%) |
| CMYK | cmyk(0%, 82.5%, 53.9%, 39.6%) |
| CIE-LAB | lab(34.21, 52.91, 7.45) |
| CIE-LCH | lch(34.21, 53.43, 8.01°) |
| OKLab | oklab(45.4% 0.1615 0.0192) |
| OKLCH | oklch(45.4% 0.163 6.8) |
| XYZ | xyz(14.8571, 8.1110, 6.7433) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.42
Purple Red
#990147
ΔE00 2.45
Cranberry
#9E003A
ΔE00 3.67
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.04
Violet Red
#A50055
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1B47 #1B9A6E
analogous
#9A1B86 #9A1B47 #9A2F1B
triadic
#9A1B47 #479A1B #1B479A
tetradic
#9A1B47 #869A1B #1B9A6E #2F1B9A
square
#9A1B47 #869A1B #1B9A6E #2F1B9A
split-complementary
#9A1B47 #1B9A2F #1B869A
monochromatic
#320917 #66122F #9A1B47 #CE245F #E04F81
Accessibility & contrast
On white
8.01
#9A1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9A1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1B47
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1B47 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#5F5944
Tritanopia (blue-blind)
#A8002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1b47; /* rgb */ color: rgb(154, 27, 71); /* oklch */ color: oklch(45.4% 0.163 6.8);
Tailwind
colors: {
custom: {
50: '#be6679',
500: '#9a1b47',
950: '#000000',
},
}SCSS
$custom: #9a1b47; $custom-light: #be6679; $custom-dark: #000000;
JSON
{
"hex": "#9a1b47",
"rgb": {
"r": 154,
"g": 27,
"b": 71
},
"hsl": {
"h": 339.213,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.45396,
"c": 0.16263,
"h": 6.8
},
"luminance": 0.08109
}Semantic roles & 50–950 ramp
primary
#9A1B47
secondary
#4EC39A
accent
#EDAF3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B