#98316C#98316C
#98316C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.151 H 348.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #98316C |
|---|---|
| RGB | rgb(152, 49, 108) |
| HSL | hsl(326, 51%, 39%) |
| HSV | hsv(326, 68%, 60%) |
| CMYK | cmyk(0%, 67.8%, 28.9%, 40.4%) |
| CIE-LAB | lab(37.76, 48.61, -11.11) |
| CIE-LCH | lch(37.76, 49.86, 347.13°) |
| OKLab | oklab(48.33% 0.1477 -0.0291) |
| OKLCH | oklch(48.33% 0.151 348.9) |
| XYZ | xyz(16.7547, 9.9565, 15.2239) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.56
Deep Magenta
#A0025C
ΔE00 5.32
Dark Fuchsia
#9D0759
ΔE00 5.55
Dark Magenta
#960056
ΔE00 6.16
Bruise
#7E4071
ΔE00 6.63
Reddish Purple
#910951
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98316C #31985D
analogous
#913198 #98316C #983139
triadic
#98316C #6C9831 #316C98
tetradic
#98316C #989131 #31985D #313998
square
#98316C #989131 #31985D #313998
split-complementary
#98316C #399831 #319891
monochromatic
#3B132A #6A224B #98316C #C3448C #D272A9
Accessibility & contrast
On white
7.02
#98316C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#98316C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98316C
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98316C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98316C | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4D6E
Deuteranopia (green-blind)
#5C606A
Tritanopia (blue-blind)
#A32D4A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #98316c; /* rgb */ color: rgb(152, 49, 108); /* oklch */ color: oklch(48.3% 0.151 348.9);
Tailwind
colors: {
custom: {
50: '#ba7196',
500: '#98316c',
950: '#000000',
},
}SCSS
$custom: #98316c; $custom-light: #ba7196; $custom-dark: #000000;
JSON
{
"hex": "#98316c",
"rgb": {
"r": 152,
"g": 49,
"b": 108
},
"hsl": {
"h": 325.631,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.48332,
"c": 0.15053,
"h": 348.9
},
"luminance": 0.09955
}Semantic roles & 50–950 ramp
primary
#98316C
secondary
#6BB98D
accent
#DB8A4D
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12080D
muted
#817B7E