#982148#982148
#982148 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.156 H 6.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #982148 |
|---|---|
| RGB | rgb(152, 33, 72) |
| HSL | hsl(340, 64%, 36%) |
| HSV | hsv(340, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 52.6%, 40.4%) |
| CIE-LAB | lab(34.46, 50.65, 7.09) |
| CIE-LCH | lch(34.46, 51.15, 7.97°) |
| OKLab | oklab(45.52% 0.1545 0.0184) |
| OKLCH | oklch(45.52% 0.156 6.8) |
| XYZ | xyz(14.6638, 8.2330, 6.9466) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.73
Purple Red
#990147
ΔE00 2.93
Cranberry
#9E003A
ΔE00 4.07
Purplish Red
#B0054B
ΔE00 4.35
Raspberry (survey)
#B00149
ΔE00 4.44
Violet Red
#A50055
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982148 #219871
analogous
#982184 #982148 #983621
triadic
#982148 #489821 #214898
tetradic
#982148 #849821 #219871 #362198
square
#982148 #849821 #219871 #362198
split-complementary
#982148 #219836 #218498
monochromatic
#330B18 #661630 #982148 #CA2C60 #DB5983
Accessibility & contrast
On white
7.94
#982148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#982148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982148
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982148 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982148; /* rgb */ color: rgb(152, 33, 72); /* oklch */ color: oklch(45.5% 0.156 6.8);
Tailwind
colors: {
custom: {
50: '#bc687a',
500: '#982148',
950: '#000000',
},
}SCSS
$custom: #982148; $custom-light: #bc687a; $custom-dark: #000000;
JSON
{
"hex": "#982148",
"rgb": {
"r": 152,
"g": 33,
"b": 72
},
"hsl": {
"h": 340.336,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.45517,
"c": 0.15563,
"h": 6.8
},
"luminance": 0.08231
}Semantic roles & 50–950 ramp
primary
#982148
secondary
#56BF9C
accent
#E7B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B