#96187F#96187F

#96187F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.189 H 337.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#96187F
RGBrgb(150, 24, 127)
HSLhsl(311, 72%, 34%)
HSVhsv(311, 84%, 59%)
CMYKcmyk(0%, 84%, 15.3%, 41.2%)
CIE-LABlab(35.34, 58.94, -26.79)
CIE-LCHlch(35.34, 64.74, 335.56°)
OKLaboklab(46.78% 0.1742 -0.073)
OKLCHoklch(46.78% 0.189 337.3)
XYZxyz(16.7354, 8.6713, 20.8669)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96187F #18962F
analogous
#6E1896 #96187F #961840
triadic
#96187F #7F9618 #187F96
tetradic
#96187F #966E18 #18962F #184096
square
#96187F #966E18 #18962F #184096
split-complementary
#96187F #409618 #18966E
monochromatic
#2C0726 #611052 #96187F #CB20AC #E247C5

Accessibility & contrast

On white

7.68
#96187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#96187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96187F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96187F#FFFFFF#000000##FFFFFF
##96187F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9E224C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #96187f;
/* rgb */ color: rgb(150, 24, 127);
/* oklch */ color: oklch(46.8% 0.189 337.3);
Tailwind
colors: {
  custom: {
    50: '#b967a4',
    500: '#96187f',
    950: '#000000',
  },
}
SCSS
$custom: #96187f;
$custom-light: #b967a4;
$custom-dark: #000000;
JSON
{
  "hex": "#96187f",
  "rgb": {
    "r": 150,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 310.952,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.18891,
    "h": 337.3
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#96187F
secondary
#47C35E
accent
#EF5A39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96187F

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

Preview Lab → · Contrast checker → · Palette generator →

#96187F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva