#992871#992871

#992871 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 345.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#992871
RGBrgb(153, 40, 113)
HSLhsl(321, 59%, 38%)
HSVhsv(321, 74%, 60%)
CMYKcmyk(0%, 73.9%, 26.1%, 40%)
CIE-LABlab(36.90, 53.01, -15.55)
CIE-LCHlch(36.90, 55.25, 343.65°)
OKLaboklab(47.8% 0.1606 -0.0413)
OKLCHoklch(47.8% 0.166 345.6)
XYZxyz(16.8770, 9.4840, 16.5614)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#992871 #289950
analogous
#882899 #992871 #992838
triadic
#992871 #719928 #287199
tetradic
#992871 #998828 #289950 #283899
square
#992871 #998828 #289950 #283899
split-complementary
#992871 #389928 #289988
monochromatic
#380F29 #681B4D #992871 #CA3595 #D765AE

Accessibility & contrast

On white

7.25
#992871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#992871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #992871
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##992871#FFFFFF#000000##FFFFFF
##9928711.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A42649
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #992871;
/* rgb */ color: rgb(153, 40, 113);
/* oklch */ color: oklch(47.8% 0.166 345.6);
Tailwind
colors: {
  custom: {
    50: '#bb6d9a',
    500: '#992871',
    950: '#000000',
  },
}
SCSS
$custom: #992871;
$custom-light: #bb6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#992871",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 321.239,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.16583,
    "h": 345.6
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#992871
secondary
#60BD81
accent
#E27D46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #992871

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

Preview Lab → · Contrast checker → · Palette generator →

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