#993171#993171
#993171 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.154 H 346.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #993171 |
|---|---|
| RGB | rgb(153, 49, 113) |
| HSL | hsl(323, 51%, 40%) |
| HSV | hsv(323, 68%, 60%) |
| CMYK | cmyk(0%, 68%, 26.1%, 40%) |
| CIE-LAB | lab(38.13, 49.57, -13.67) |
| CIE-LCH | lch(38.13, 51.42, 344.58°) |
| OKLab | oklab(48.7% 0.15 -0.0361) |
| OKLCH | oklch(48.7% 0.154 346.5) |
| XYZ | xyz(17.2165, 10.1629, 16.6745) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Deep Magenta
#A0025C
ΔE00 6.03
Bruise
#7E4071
ΔE00 6.33
Dark Fuchsia
#9D0759
ΔE00 6.35
Dark Magenta
#960056
ΔE00 6.89
Light Eggplant
#894585
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#993171 #319959
analogous
#8D3199 #993171 #99313D
triadic
#993171 #719931 #317199
tetradic
#993171 #998D31 #319959 #313D99
square
#993171 #998D31 #319959 #313D99
split-complementary
#993171 #3D9931 #31998D
monochromatic
#3C132D #6B224F #993171 #C34492 #D272AD
Accessibility & contrast
On white
6.93
#993171 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#993171 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #993171
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##993171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##993171 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A32F4C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #993171; /* rgb */ color: rgb(153, 49, 113); /* oklch */ color: oklch(48.7% 0.154 346.5);
Tailwind
colors: {
custom: {
50: '#ba719a',
500: '#993171',
950: '#000000',
},
}SCSS
$custom: #993171; $custom-light: #ba719a; $custom-dark: #000000;
JSON
{
"hex": "#993171",
"rgb": {
"r": 153,
"g": 49,
"b": 113
},
"hsl": {
"h": 323.077,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.487,
"c": 0.15427,
"h": 346.5
},
"luminance": 0.10161
}Semantic roles & 50–950 ramp
primary
#993171
secondary
#6CBA8A
accent
#DB844D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E