#992171#992171

#992171 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.174 H 345.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#992171
RGBrgb(153, 33, 113)
HSLhsl(320, 65%, 36%)
HSVhsv(320, 78%, 60%)
CMYKcmyk(0%, 78.4%, 26.1%, 40%)
CIE-LABlab(36.09, 55.32, -16.80)
CIE-LCHlch(36.09, 57.81, 343.11°)
OKLaboklab(47.21% 0.1677 -0.0447)
OKLCHoklch(47.21% 0.174 345.1)
XYZxyz(16.6621, 9.0541, 16.4897)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#992171 #219949
analogous
#852199 #992171 #992135
triadic
#992171 #719921 #217199
tetradic
#992171 #998521 #219949 #213599
square
#992171 #998521 #219949 #213599
split-complementary
#992171 #359921 #219985
monochromatic
#340B27 #67164C #992171 #CB2C96 #DB59B0

Accessibility & contrast

On white

7.47
#992171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#992171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #992171
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##992171#FFFFFF#000000##FFFFFF
##9921711.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A41F47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #992171;
/* rgb */ color: rgb(153, 33, 113);
/* oklch */ color: oklch(47.2% 0.174 345.1);
Tailwind
colors: {
  custom: {
    50: '#bb6a9a',
    500: '#992171',
    950: '#000000',
  },
}
SCSS
$custom: #992171;
$custom-light: #bb6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#992171",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 320,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.1736,
    "h": 345.1
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#992171
secondary
#56BF79
accent
#E87840
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #992171

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

Preview Lab → · Contrast checker → · Palette generator →

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