#9E1F76#9E1F76

#9E1F76 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.182 H 344.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E1F76
RGBrgb(158, 31, 118)
HSLhsl(319, 67%, 37%)
HSVhsv(319, 80%, 62%)
CMYKcmyk(0%, 80.4%, 25.3%, 38%)
CIE-LABlab(37.04, 57.78, -18.40)
CIE-LCHlch(37.04, 60.63, 342.33°)
OKLaboklab(48.14% 0.175 -0.0491)
OKLCHoklch(48.14% 0.182 344.3)
XYZxyz(17.8613, 9.5591, 18.0405)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F76 #1F9E47
analogous
#871F9E #9E1F76 #9E1F36
triadic
#9E1F76 #769E1F #1F769E
tetradic
#9E1F76 #9E871F #1F9E47 #1F369E
square
#9E1F76 #9E871F #1F9E47 #1F369E
split-complementary
#9E1F76 #369E1F #1F9E87
monochromatic
#380B2A #6B1550 #9E1F76 #D1299C #DE59B4

Accessibility & contrast

On white

7.21
#9E1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F76
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F76#FFFFFF#000000##FFFFFF
##9E1F761.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#575F73
Tritanopia (blue-blind)
#A91E49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f76;
/* rgb */ color: rgb(158, 31, 118);
/* oklch */ color: oklch(48.1% 0.182 344.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a9d',
    500: '#9e1f76',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f76;
$custom-light: #bf6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f76",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 318.898,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.18178,
    "h": 344.3
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#9E1F76
secondary
#56C278
accent
#EA743E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F76

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

Preview Lab → · Contrast checker → · Palette generator →

#9E1F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva