#98315F#98315F
#98315F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.8% C 0.144 H 356.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #98315F |
|---|---|
| RGB | rgb(152, 49, 95) |
| HSL | hsl(333, 51%, 39%) |
| HSV | hsv(333, 68%, 60%) |
| CMYK | cmyk(0%, 67.8%, 37.5%, 40.4%) |
| CIE-LAB | lab(37.30, 46.99, -3.59) |
| CIE-LCH | lch(37.30, 47.13, 355.63°) |
| OKLab | oklab(47.84% 0.1438 -0.0088) |
| OKLCH | oklch(47.84% 0.144 356.5) |
| XYZ | xyz(16.1137, 9.7001, 11.8480) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.45
Deep Magenta
#A0025C
ΔE00 4.62
Violet Red
#A50055
ΔE00 4.91
Dark Magenta
#960056
ΔE00 5.38
Reddish Purple
#910951
ΔE00 5.43
Mulberry
#920A4E
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98315F #31986A
analogous
#983193 #98315F #983731
triadic
#98315F #5F9831 #315F98
tetradic
#98315F #939831 #31986A #373198
square
#98315F #939831 #31986A #373198
split-complementary
#98315F #319837 #319398
monochromatic
#3B1325 #6A2242 #98315F #C3447C #D2729D
Accessibility & contrast
On white
7.14
#98315F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#98315F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98315F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98315F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434C60
Deuteranopia (green-blind)
#5F5F5D
Tritanopia (blue-blind)
#A42844
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98315f; /* rgb */ color: rgb(152, 49, 95); /* oklch */ color: oklch(47.8% 0.144 356.5);
Tailwind
colors: {
custom: {
50: '#ba708c',
500: '#98315f',
950: '#000000',
},
}SCSS
$custom: #98315f; $custom-light: #ba708c; $custom-dark: #000000;
JSON
{
"hex": "#98315f",
"rgb": {
"r": 152,
"g": 49,
"b": 95
},
"hsl": {
"h": 333.204,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.47836,
"c": 0.14406,
"h": 356.5
},
"luminance": 0.09698
}Semantic roles & 50–950 ramp
primary
#98315F
secondary
#6BB997
accent
#DB9B4D
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080C
muted
#817B7D