#982274#982274
#982274 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 343.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #982274 |
|---|---|
| RGB | rgb(152, 34, 116) |
| HSL | hsl(318, 63%, 36%) |
| HSV | hsv(318, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 23.7%, 40.4%) |
| CIE-LAB | lab(36.14, 55.15, -18.62) |
| CIE-LCH | lch(36.14, 58.21, 341.34°) |
| OKLab | oklab(47.26% 0.1664 -0.0498) |
| OKLCH | oklch(47.26% 0.174 343.3) |
| XYZ | xyz(16.6739, 9.0822, 17.3945) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.46
Warm Purple
#952E8F
ΔE00 5.98
Deep Magenta
#A0025C
ΔE00 6.27
Dark Fuchsia
#9D0759
ΔE00 6.70
Dark Magenta
#960056
ΔE00 6.79
Bruise
#7E4071
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982274 #229846
analogous
#812298 #982274 #982239
triadic
#982274 #749822 #227498
tetradic
#982274 #988122 #229846 #223998
square
#982274 #988122 #229846 #223998
split-complementary
#982274 #399822 #229881
monochromatic
#340C28 #66174E #982274 #CA2D9A #DA5AB3
Accessibility & contrast
On white
7.46
#982274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#982274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982274
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982274 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4976
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#A22248
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982274; /* rgb */ color: rgb(152, 34, 116); /* oklch */ color: oklch(47.3% 0.174 343.3);
Tailwind
colors: {
custom: {
50: '#ba6a9c',
500: '#982274',
950: '#000000',
},
}SCSS
$custom: #982274; $custom-light: #ba6a9c; $custom-dark: #000000;
JSON
{
"hex": "#982274",
"rgb": {
"r": 152,
"g": 34,
"b": 116
},
"hsl": {
"h": 318.305,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47256,
"c": 0.17371,
"h": 343.3
},
"luminance": 0.0908
}Semantic roles & 50–950 ramp
primary
#982274
secondary
#57BE77
accent
#E67441
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E