#9B1848#9B1848
#9B1848 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 6.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1848 |
|---|---|
| RGB | rgb(155, 24, 72) |
| HSL | hsl(338, 73%, 35%) |
| HSV | hsv(338, 85%, 61%) |
| CMYK | cmyk(0%, 84.5%, 53.5%, 39.2%) |
| CIE-LAB | lab(34.17, 54.03, 6.77) |
| CIE-LCH | lch(34.17, 54.45, 7.14°) |
| OKLab | oklab(45.41% 0.1651 0.0176) |
| OKLCH | oklch(45.41% 0.166 6.1) |
| XYZ | xyz(15.0153, 8.0919, 6.9009) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.97
Purple Red
#990147
ΔE00 2.04
Purplish Red
#B0054B
ΔE00 3.90
Cranberry
#9E003A
ΔE00 3.92
Violet Red
#A50055
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1848 #189B6B
analogous
#9B188A #9B1848 #9B2918
triadic
#9B1848 #489B18 #18489B
tetradic
#9B1848 #8A9B18 #189B6B #29189B
square
#9B1848 #8A9B18 #189B6B #29189B
split-complementary
#9B1848 #189B29 #188A9B
monochromatic
#310817 #66102F #9B1848 #D02061 #E34A82
Accessibility & contrast
On white
8.02
#9B1848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9B1848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1848
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1848 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#5F5945
Tritanopia (blue-blind)
#A9002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9b1848; /* rgb */ color: rgb(155, 24, 72); /* oklch */ color: oklch(45.4% 0.166 6.1);
Tailwind
colors: {
custom: {
50: '#bf667a',
500: '#9b1848',
950: '#000000',
},
}SCSS
$custom: #9b1848; $custom-light: #bf667a; $custom-dark: #000000;
JSON
{
"hex": "#9b1848",
"rgb": {
"r": 155,
"g": 24,
"b": 72
},
"hsl": {
"h": 338.015,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.45412,
"c": 0.16607,
"h": 6.1
},
"luminance": 0.0809
}Semantic roles & 50–950 ramp
primary
#9B1848
secondary
#4AC598
accent
#F0AC38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B