#983271#983271
#983271 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.152 H 346.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #983271 |
|---|---|
| RGB | rgb(152, 50, 113) |
| HSL | hsl(323, 50%, 40%) |
| HSV | hsv(323, 67%, 60%) |
| CMYK | cmyk(0%, 67.1%, 25.7%, 40.4%) |
| CIE-LAB | lab(38.11, 48.86, -13.72) |
| CIE-LCH | lch(38.11, 50.75, 344.32°) |
| OKLab | oklab(48.65% 0.1477 -0.0363) |
| OKLCH | oklch(48.65% 0.152 346.2) |
| XYZ | xyz(17.0708, 10.1506, 16.6798) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.78
Bruise
#7E4071
ΔE00 6.11
Deep Magenta
#A0025C
ΔE00 6.18
Dark Fuchsia
#9D0759
ΔE00 6.49
Light Eggplant
#894585
ΔE00 6.95
Dark Magenta
#960056
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983271 #329859
analogous
#8C3298 #983271 #98323E
triadic
#983271 #719832 #327198
tetradic
#983271 #988C32 #329859 #323E98
square
#983271 #988C32 #329859 #323E98
split-complementary
#983271 #3E9832 #32988C
monochromatic
#3C142D #6A234F #983271 #C24592 #D173AD
Accessibility & contrast
On white
6.93
#983271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#983271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983271
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983271 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A2304D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #983271; /* rgb */ color: rgb(152, 50, 113); /* oklch */ color: oklch(48.7% 0.152 346.2);
Tailwind
colors: {
custom: {
50: '#ba719a',
500: '#983271',
950: '#000000',
},
}SCSS
$custom: #983271; $custom-light: #ba719a; $custom-dark: #000000;
JSON
{
"hex": "#983271",
"rgb": {
"r": 152,
"g": 50,
"b": 113
},
"hsl": {
"h": 322.941,
"s": 50.495,
"l": 39.608
},
"oklch": {
"l": 0.48651,
"c": 0.15208,
"h": 346.2
},
"luminance": 0.10149
}Semantic roles & 50–950 ramp
primary
#983271
secondary
#6DB98A
accent
#DA834E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E