#993172#993172

#993172 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.155 H 345.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#993172
RGBrgb(153, 49, 114)
HSLhsl(323, 51%, 40%)
HSVhsv(323, 68%, 60%)
CMYKcmyk(0%, 68%, 25.5%, 40%)
CIE-LABlab(38.17, 49.71, -14.23)
CIE-LCHlch(38.17, 51.70, 344.02°)
OKLaboklab(48.74% 0.1502 -0.0377)
OKLCHoklch(48.74% 0.155 345.9)
XYZxyz(17.2731, 10.1856, 16.9727)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#993172 #319958
analogous
#8C3199 #993172 #99313E
triadic
#993172 #729931 #317299
tetradic
#993172 #998C31 #319958 #313E99
square
#993172 #998C31 #319958 #313E99
split-complementary
#993172 #3E9931 #31998C
monochromatic
#3C132D #6B224F #993172 #C34493 #D272AE

Accessibility & contrast

On white

6.92
#993172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#993172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #993172
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##993172#FFFFFF#000000##FFFFFF
##9931721.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F74
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#A32F4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #993172;
/* rgb */ color: rgb(153, 49, 114);
/* oklch */ color: oklch(48.7% 0.155 345.9);
Tailwind
colors: {
  custom: {
    50: '#ba719a',
    500: '#993172',
    950: '#000000',
  },
}
SCSS
$custom: #993172;
$custom-light: #ba719a;
$custom-dark: #000000;
JSON
{
  "hex": "#993172",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 322.5,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.15488,
    "h": 345.9
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#993172
secondary
#6CBA89
accent
#DB824D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #993172

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

Preview Lab → · Contrast checker → · Palette generator →

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