#98316E#98316E
#98316E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.152 H 347.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #98316E |
|---|---|
| RGB | rgb(152, 49, 110) |
| HSL | hsl(324, 51%, 39%) |
| HSV | hsv(324, 68%, 60%) |
| CMYK | cmyk(0%, 67.8%, 27.6%, 40.4%) |
| CIE-LAB | lab(37.84, 48.87, -12.25) |
| CIE-LCH | lch(37.84, 50.39, 345.93°) |
| OKLab | oklab(48.41% 0.1482 -0.0322) |
| OKLCH | oklch(48.41% 0.152 347.7) |
| XYZ | xyz(16.8624, 9.9996, 15.7909) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.54
Deep Magenta
#A0025C
ΔE00 5.62
Dark Fuchsia
#9D0759
ΔE00 5.89
Bruise
#7E4071
ΔE00 6.41
Dark Magenta
#960056
ΔE00 6.44
Reddish Purple
#910951
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98316E #31985B
analogous
#8F3198 #98316E #98313B
triadic
#98316E #6E9831 #316E98
tetradic
#98316E #988F31 #31985B #313B98
square
#98316E #988F31 #31985B #313B98
split-complementary
#98316E #3B9831 #31988F
monochromatic
#3B132B #6A224D #98316E #C3448F #D272AB
Accessibility & contrast
On white
7.00
#98316E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#98316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98316E
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98316E | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#A32E4B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #98316e; /* rgb */ color: rgb(152, 49, 110); /* oklch */ color: oklch(48.4% 0.152 347.7);
Tailwind
colors: {
custom: {
50: '#ba7197',
500: '#98316e',
950: '#000000',
},
}SCSS
$custom: #98316e; $custom-light: #ba7197; $custom-dark: #000000;
JSON
{
"hex": "#98316e",
"rgb": {
"r": 152,
"g": 49,
"b": 110
},
"hsl": {
"h": 324.466,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.48414,
"c": 0.15168,
"h": 347.7
},
"luminance": 0.09998
}Semantic roles & 50–950 ramp
primary
#98316E
secondary
#6BB98B
accent
#DB874D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E