#992771#992771

#992771 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 345.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#992771
RGBrgb(153, 39, 113)
HSLhsl(321, 59%, 38%)
HSVhsv(321, 75%, 60%)
CMYKcmyk(0%, 74.5%, 26.1%, 40%)
CIE-LABlab(36.78, 53.37, -15.74)
CIE-LCHlch(36.78, 55.64, 343.56°)
OKLaboklab(47.71% 0.1617 -0.0418)
OKLCHoklch(47.71% 0.167 345.5)
XYZxyz(16.8437, 9.4174, 16.5503)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#992771 #27994F
analogous
#882799 #992771 #992738
triadic
#992771 #719927 #277199
tetradic
#992771 #998827 #27994F #273899
square
#992771 #998827 #27994F #273899
split-complementary
#992771 #389927 #279988
monochromatic
#370E29 #681B4D #992771 #CA3395 #D763AF

Accessibility & contrast

On white

7.28
#992771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#992771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #992771
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##992771#FFFFFF#000000##FFFFFF
##9927711.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A42549
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #992771;
/* rgb */ color: rgb(153, 39, 113);
/* oklch */ color: oklch(47.7% 0.167 345.5);
Tailwind
colors: {
  custom: {
    50: '#bb6c9a',
    500: '#992771',
    950: '#000000',
  },
}
SCSS
$custom: #992771;
$custom-light: #bb6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#992771",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 321.053,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.16702,
    "h": 345.5
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#992771
secondary
#5FBD80
accent
#E37C45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #992771

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

Preview Lab → · Contrast checker → · Palette generator →

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