#96317E#96317E

#96317E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.161 H 338.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#96317E
RGBrgb(150, 49, 126)
HSLhsl(314, 51%, 39%)
HSVhsv(314, 67%, 59%)
CMYKcmyk(0%, 67.3%, 16%, 41.2%)
CIE-LABlab(38.18, 50.61, -21.74)
CIE-LCHlch(38.18, 55.08, 336.75°)
OKLaboklab(48.82% 0.1496 -0.0588)
OKLCHoklch(48.82% 0.161 338.5)
XYZxyz(17.4422, 10.1886, 20.7826)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96317E #319649
analogous
#7C3196 #96317E #96314C
triadic
#96317E #7E9631 #317E96
tetradic
#96317E #967C31 #319649 #314C96
square
#96317E #967C31 #319649 #314C96
split-complementary
#96317E #4C9631 #31967C
monochromatic
#3A1331 #682257 #96317E #C143A3 #D171BA

Accessibility & contrast

On white

6.91
#96317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#96317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96317E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96317E#FFFFFF#000000##FFFFFF
##96317E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#9E3553
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #96317e;
/* rgb */ color: rgb(150, 49, 126);
/* oklch */ color: oklch(48.8% 0.161 338.5);
Tailwind
colors: {
  custom: {
    50: '#b871a3',
    500: '#96317e',
    950: '#000000',
  },
}
SCSS
$custom: #96317e;
$custom-light: #b871a3;
$custom-dark: #000000;
JSON
{
  "hex": "#96317e",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 314.257,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.16071,
    "h": 338.5
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#96317E
secondary
#6AB87D
accent
#DA6F4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #96317E

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

Preview Lab → · Contrast checker → · Palette generator →

#96317E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva