#982C6F#982C6F
#982C6F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.159 H 346.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #982C6F |
|---|---|
| RGB | rgb(152, 44, 111) |
| HSL | hsl(323, 55%, 38%) |
| HSV | hsv(323, 71%, 60%) |
| CMYK | cmyk(0%, 71.1%, 27%, 40.4%) |
| CIE-LAB | lab(37.16, 51.00, -13.91) |
| CIE-LCH | lch(37.16, 52.87, 344.75°) |
| OKLab | oklab(47.93% 0.1546 -0.0368) |
| OKLCH | oklch(47.93% 0.159 346.6) |
| XYZ | xyz(16.7195, 9.6262, 16.0134) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.78
Deep Magenta
#A0025C
ΔE00 5.44
Dark Fuchsia
#9D0759
ΔE00 5.77
Dark Magenta
#960056
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.59
Reddish Purple
#910951
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C6F #2C9855
analogous
#8B2C98 #982C6F #982C39
triadic
#982C6F #6F982C #2C6F98
tetradic
#982C6F #988B2C #2C9855 #2C3998
square
#982C6F #988B2C #2C9855 #2C3998
split-complementary
#982C6F #39982C #2C988B
monochromatic
#39112A #691E4C #982C6F #C63B91 #D46AAC
Accessibility & contrast
On white
7.18
#982C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#982C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982C6F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C6F | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A32949
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #982c6f; /* rgb */ color: rgb(152, 44, 111); /* oklch */ color: oklch(47.9% 0.159 346.6);
Tailwind
colors: {
custom: {
50: '#ba6e98',
500: '#982c6f',
950: '#000000',
},
}SCSS
$custom: #982c6f; $custom-light: #ba6e98; $custom-dark: #000000;
JSON
{
"hex": "#982c6f",
"rgb": {
"r": 152,
"g": 44,
"b": 111
},
"hsl": {
"h": 322.778,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.47929,
"c": 0.15895,
"h": 346.6
},
"luminance": 0.09624
}Semantic roles & 50–950 ramp
primary
#982C6F
secondary
#65BB86
accent
#DE8249
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E