#982273#982273
#982273 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.173 H 343.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #982273 |
|---|---|
| RGB | rgb(152, 34, 115) |
| HSL | hsl(319, 63%, 36%) |
| HSV | hsv(319, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 24.3%, 40.4%) |
| CIE-LAB | lab(36.10, 55.02, -18.06) |
| CIE-LCH | lch(36.10, 57.91, 341.83°) |
| OKLab | oklab(47.21% 0.1662 -0.0483) |
| OKLCH | oklch(47.21% 0.173 343.8) |
| XYZ | xyz(16.6161, 9.0590, 17.0898) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.29
Deep Magenta
#A0025C
ΔE00 6.05
Warm Purple
#952E8F
ΔE00 6.20
Dark Fuchsia
#9D0759
ΔE00 6.48
Dark Magenta
#960056
ΔE00 6.58
Bruise
#7E4071
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982273 #229847
analogous
#822298 #982273 #982238
triadic
#982273 #739822 #227398
tetradic
#982273 #988222 #229847 #223898
square
#982273 #988222 #229847 #223898
split-complementary
#982273 #389822 #229882
monochromatic
#340C27 #66174D #982273 #CA2D99 #DA5AB2
Accessibility & contrast
On white
7.47
#982273 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#982273 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982273
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982273 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#555C70
Tritanopia (blue-blind)
#A22148
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982273; /* rgb */ color: rgb(152, 34, 115); /* oklch */ color: oklch(47.2% 0.173 343.8);
Tailwind
colors: {
custom: {
50: '#ba6a9b',
500: '#982273',
950: '#000000',
},
}SCSS
$custom: #982273; $custom-light: #ba6a9b; $custom-dark: #000000;
JSON
{
"hex": "#982273",
"rgb": {
"r": 152,
"g": 34,
"b": 115
},
"hsl": {
"h": 318.814,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47209,
"c": 0.17309,
"h": 343.8
},
"luminance": 0.09057
}Semantic roles & 50–950 ramp
primary
#982273
secondary
#57BE78
accent
#E67541
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E