#9B2147#9B2147
#9B2147 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.158 H 8.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2147 |
|---|---|
| RGB | rgb(155, 33, 71) |
| HSL | hsl(341, 65%, 37%) |
| HSV | hsv(341, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 54.2%, 39.2%) |
| CIE-LAB | lab(35.03, 51.44, 8.62) |
| CIE-LCH | lch(35.03, 52.16, 9.51°) |
| OKLab | oklab(46.03% 0.1567 0.0221) |
| OKLCH | oklch(46.03% 0.158 8) |
| XYZ | xyz(15.2002, 8.5134, 6.8029) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.42
Purple Red
#990147
ΔE00 3.50
Cranberry
#9E003A
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 3.81
Red Wine
#8C0034
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2147 #219B75
analogous
#9B2184 #9B2147 #9B3821
triadic
#9B2147 #479B21 #21479B
tetradic
#9B2147 #849B21 #219B75 #38219B
square
#9B2147 #849B21 #219B75 #38219B
split-complementary
#9B2147 #219B38 #21849B
monochromatic
#360C19 #691630 #9B2147 #CD2C5E #DC5A83
Accessibility & contrast
On white
7.77
#9B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9B2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2147
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2147 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b2147; /* rgb */ color: rgb(155, 33, 71); /* oklch */ color: oklch(46.0% 0.158 8.0);
Tailwind
colors: {
custom: {
50: '#bf6979',
500: '#9b2147',
950: '#000000',
},
}SCSS
$custom: #9b2147; $custom-light: #bf6979; $custom-dark: #000000;
JSON
{
"hex": "#9b2147",
"rgb": {
"r": 155,
"g": 33,
"b": 71
},
"hsl": {
"h": 341.311,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.46033,
"c": 0.1582,
"h": 8
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#9B2147
secondary
#58C0A0
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B