#9E1E79#9E1E79

#9E1E79 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.185 H 342.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9E1E79
RGBrgb(158, 30, 121)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 62%)
CMYKcmyk(0%, 81%, 23.4%, 38%)
CIE-LABlab(37.08, 58.44, -20.22)
CIE-LCHlch(37.08, 61.84, 340.91°)
OKLaboklab(48.21% 0.1764 -0.0542)
OKLCHoklch(48.21% 0.185 342.9)
XYZxyz(18.0167, 9.5801, 18.9858)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E79 #1E9E43
analogous
#831E9E #9E1E79 #9E1E39
triadic
#9E1E79 #799E1E #1E799E
tetradic
#9E1E79 #9E831E #1E9E43 #1E399E
square
#9E1E79 #9E831E #1E9E43 #1E399E
split-complementary
#9E1E79 #399E1E #1E9E83
monochromatic
#370A2A #6B1452 #9E1E79 #D128A0 #DF57B8

Accessibility & contrast

On white

7.20
#9E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E79
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E79#FFFFFF#000000##FFFFFF
##9E1E791.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A81F4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1e79;
/* rgb */ color: rgb(158, 30, 121);
/* oklch */ color: oklch(48.2% 0.185 342.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aa0',
    500: '#9e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e79;
$custom-light: #bf6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e79",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 317.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.18452,
    "h": 342.9
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#9E1E79
secondary
#55C375
accent
#EB6F3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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