#981848#981848
#981848 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.164 H 5.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #981848 |
|---|---|
| RGB | rgb(152, 24, 72) |
| HSL | hsl(338, 73%, 35%) |
| HSV | hsv(338, 84%, 60%) |
| CMYK | cmyk(0%, 84.2%, 52.6%, 40.4%) |
| CIE-LAB | lab(33.56, 53.22, 5.81) |
| CIE-LCH | lch(33.56, 53.53, 6.23°) |
| OKLab | oklab(44.85% 0.1628 0.0152) |
| OKLCH | oklch(44.85% 0.164 5.3) |
| XYZ | xyz(14.4466, 7.7986, 6.8742) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.50
Purple Red
#990147
ΔE00 1.64
Mulberry
#920A4E
ΔE00 3.86
Violet Red
#A50055
ΔE00 3.90
Cranberry
#9E003A
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981848 #189868
analogous
#981888 #981848 #982818
triadic
#981848 #489818 #184898
tetradic
#981848 #889818 #189868 #281898
square
#981848 #889818 #189868 #281898
split-complementary
#981848 #189828 #188898
monochromatic
#2E0716 #63102F #981848 #CD2061 #E24882
Accessibility & contrast
On white
8.21
#981848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981848
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981848 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981848; /* rgb */ color: rgb(152, 24, 72); /* oklch */ color: oklch(44.9% 0.164 5.3);
Tailwind
colors: {
custom: {
50: '#bc657a',
500: '#981848',
950: '#000000',
},
}SCSS
$custom: #981848; $custom-light: #bc657a; $custom-dark: #000000;
JSON
{
"hex": "#981848",
"rgb": {
"r": 152,
"g": 24,
"b": 72
},
"hsl": {
"h": 337.5,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.44853,
"c": 0.16354,
"h": 5.3
},
"luminance": 0.07797
}Semantic roles & 50–950 ramp
primary
#981848
secondary
#48C495
accent
#EFAB38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B