#981948#981948
#981948 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.163 H 5.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #981948 |
|---|---|
| RGB | rgb(152, 25, 72) |
| HSL | hsl(338, 72%, 35%) |
| HSV | hsv(338, 84%, 60%) |
| CMYK | cmyk(0%, 83.6%, 52.6%, 40.4%) |
| CIE-LAB | lab(33.65, 52.96, 5.94) |
| CIE-LCH | lch(33.65, 53.29, 6.40°) |
| OKLab | oklab(44.92% 0.162 0.0155) |
| OKLCH | oklch(44.92% 0.163 5.5) |
| XYZ | xyz(14.4676, 7.8406, 6.8812) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.61
Purple Red
#990147
ΔE00 1.77
Mulberry
#920A4E
ΔE00 3.96
Violet Red
#A50055
ΔE00 3.97
Cranberry
#9E003A
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981948 #199869
analogous
#981988 #981948 #982919
triadic
#981948 #489819 #194898
tetradic
#981948 #889819 #199869 #291998
square
#981948 #889819 #199869 #291998
split-complementary
#981948 #199829 #198898
monochromatic
#2F0816 #63102F #981948 #CD2261 #E14A82
Accessibility & contrast
On white
8.18
#981948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#981948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981948
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981948 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981948; /* rgb */ color: rgb(152, 25, 72); /* oklch */ color: oklch(44.9% 0.163 5.5);
Tailwind
colors: {
custom: {
50: '#bc657a',
500: '#981948',
950: '#000000',
},
}SCSS
$custom: #981948; $custom-light: #bc657a; $custom-dark: #000000;
JSON
{
"hex": "#981948",
"rgb": {
"r": 152,
"g": 25,
"b": 72
},
"hsl": {
"h": 337.795,
"s": 71.751,
"l": 34.706
},
"oklch": {
"l": 0.44918,
"c": 0.16275,
"h": 5.5
},
"luminance": 0.07839
}Semantic roles & 50–950 ramp
primary
#981948
secondary
#4AC396
accent
#EEAB39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B