#9B1F4C#9B1F4C
#9B1F4C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 4.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F4C |
|---|---|
| RGB | rgb(155, 31, 76) |
| HSL | hsl(338, 67%, 36%) |
| HSV | hsv(338, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 51%, 39.2%) |
| CIE-LAB | lab(34.95, 52.47, 5.26) |
| CIE-LCH | lch(34.95, 52.73, 5.73°) |
| OKLab | oklab(46.02% 0.1605 0.0139) |
| OKLCH | oklch(46.02% 0.161 4.9) |
| XYZ | xyz(15.3134, 8.4725, 7.6651) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.99
Purple Red
#990147
ΔE00 2.54
Violet Red
#A50055
ΔE00 3.59
Purplish Red
#B0054B
ΔE00 4.09
Mulberry
#920A4E
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F4C #1F9B6E
analogous
#9B1F8A #9B1F4C #9B301F
triadic
#9B1F4C #4C9B1F #1F4C9B
tetradic
#9B1F4C #8A9B1F #1F9B6E #301F9B
square
#9B1F4C #8A9B1F #1F9B6E #301F9B
split-complementary
#9B1F4C #1F9B30 #1F8A9B
monochromatic
#350B1A #681533 #9B1F4C #CE2965 #DD5788
Accessibility & contrast
On white
7.80
#9B1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9B1F4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F4C
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F4C | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f4c; /* rgb */ color: rgb(155, 31, 76); /* oklch */ color: oklch(46.0% 0.161 4.9);
Tailwind
colors: {
custom: {
50: '#be687d',
500: '#9b1f4c',
950: '#000000',
},
}SCSS
$custom: #9b1f4c; $custom-light: #be687d; $custom-dark: #000000;
JSON
{
"hex": "#9b1f4c",
"rgb": {
"r": 155,
"g": 31,
"b": 76
},
"hsl": {
"h": 338.226,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.46017,
"c": 0.16113,
"h": 4.9
},
"luminance": 0.0847
}Semantic roles & 50–950 ramp
primary
#9B1F4C
secondary
#55C19A
accent
#EAAB3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B