#982451#982451
#982451 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.155 H 2.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #982451 |
|---|---|
| RGB | rgb(152, 36, 81) |
| HSL | hsl(337, 62%, 37%) |
| HSV | hsv(337, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 46.7%, 40.4%) |
| CIE-LAB | lab(35.07, 50.47, 2.12) |
| CIE-LCH | lch(35.07, 50.52, 2.40°) |
| OKLab | oklab(46.05% 0.1547 0.006) |
| OKLCH | oklch(46.05% 0.155 2.2) |
| XYZ | xyz(15.0662, 8.5332, 8.6367) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.22
Purple Red
#990147
ΔE00 3.19
Violet Red
#A50055
ΔE00 3.26
Mulberry
#920A4E
ΔE00 3.55
Dark Fuchsia
#9D0759
ΔE00 4.01
Reddish Purple
#910951
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982451 #24986B
analogous
#98248B #982451 #983124
triadic
#982451 #519824 #245198
tetradic
#982451 #8B9824 #24986B #312498
square
#982451 #8B9824 #24986B #312498
split-complementary
#982451 #249831 #248B98
monochromatic
#350D1C #671837 #982451 #C9306B #D95E8D
Accessibility & contrast
On white
7.76
#982451 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#982451 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982451
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982451 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4452
Deuteranopia (green-blind)
#5E5B4E
Tritanopia (blue-blind)
#A50D37
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982451; /* rgb */ color: rgb(152, 36, 81); /* oklch */ color: oklch(46.0% 0.155 2.2);
Tailwind
colors: {
custom: {
50: '#bc6a81',
500: '#982451',
950: '#000000',
},
}SCSS
$custom: #982451; $custom-light: #bc6a81; $custom-dark: #000000;
JSON
{
"hex": "#982451",
"rgb": {
"r": 152,
"g": 36,
"b": 81
},
"hsl": {
"h": 336.724,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.46047,
"c": 0.15485,
"h": 2.2
},
"luminance": 0.08531
}Semantic roles & 50–950 ramp
primary
#982451
secondary
#5ABE97
accent
#E5A643
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C