#98396F#98396F
#98396F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.4% C 0.141 H 348.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #98396F |
|---|---|
| RGB | rgb(152, 57, 111) |
| HSL | hsl(326, 45%, 41%) |
| HSV | hsv(326, 63%, 60%) |
| CMYK | cmyk(0%, 62.5%, 27%, 40.4%) |
| CIE-LAB | lab(39.16, 45.51, -10.88) |
| CIE-LCH | lch(39.16, 46.79, 346.56°) |
| OKLab | oklab(49.4% 0.1377 -0.0285) |
| OKLCH | oklch(49.4% 0.141 348.3) |
| XYZ | xyz(17.2819, 10.7510, 16.2009) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 6.07
Bruise
#7E4071
ΔE00 6.16
Deep Magenta
#A0025C
ΔE00 6.67
Dark Fuchsia
#9D0759
ΔE00 6.87
Light Eggplant
#894585
ΔE00 7.30
Dark Magenta
#960056
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98396F #399862
analogous
#913998 #98396F #98393F
triadic
#98396F #6F9839 #396F98
tetradic
#98396F #989139 #399862 #393F98
square
#98396F #989139 #399862 #393F98
split-complementary
#98396F #3F9839 #399891
monochromatic
#3F182E #6B284E #98396F #BE518F #CE7DAB
Accessibility & contrast
On white
6.67
#98396F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#98396F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98396F
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98396F | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#A2364F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98396f; /* rgb */ color: rgb(152, 57, 111); /* oklch */ color: oklch(49.4% 0.141 348.3);
Tailwind
colors: {
custom: {
50: '#b97598',
500: '#98396f',
950: '#000000',
},
}SCSS
$custom: #98396f; $custom-light: #b97598; $custom-dark: #000000;
JSON
{
"hex": "#98396f",
"rgb": {
"r": 152,
"g": 57,
"b": 111
},
"hsl": {
"h": 325.895,
"s": 45.455,
"l": 40.98
},
"oklch": {
"l": 0.49396,
"c": 0.14063,
"h": 348.3
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#98396F
secondary
#75B892
accent
#D58B53
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090D
muted
#817B7E