#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
RGBrgb(153, 49, 113)
HSLhsl(323, 51%, 40%)
HSVhsv(323, 68%, 60%)
CMYKcmyk(0%, 68%, 26.1%, 40%)
CIE-LABlab(38.13, 49.57, -13.67)
CIE-LCHlch(38.13, 51.42, 344.58°)
OKLaboklab(48.7% 0.15 -0.0361)
OKLCHoklch(48.7% 0.154 346.5)
XYZxyz(17.2165, 10.1629, 16.6745)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9931711.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.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

Preview Lab

Preview with #993171

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#993171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva