#9E1A79#9E1A79

#9E1A79 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 342.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E1A79
RGBrgb(158, 26, 121)
HSLhsl(317, 72%, 36%)
HSVhsv(317, 84%, 62%)
CMYKcmyk(0%, 83.5%, 23.4%, 38%)
CIE-LABlab(36.73, 59.45, -20.77)
CIE-LCHlch(36.73, 62.97, 340.75°)
OKLaboklab(47.96% 0.1795 -0.0557)
OKLCHoklch(47.96% 0.188 342.8)
XYZxyz(17.9218, 9.3903, 18.9542)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A79 #1A9E3F
analogous
#811A9E #9E1A79 #9E1A37
triadic
#9E1A79 #799E1A #1A799E
tetradic
#9E1A79 #9E811A #1A9E3F #1A379E
square
#9E1A79 #9E811A #1A9E3F #1A379E
split-complementary
#9E1A79 #379E1A #1A9E81
monochromatic
#350929 #691151 #9E1A79 #D323A1 #E250B9

Accessibility & contrast

On white

7.30
#9E1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A79
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A79#FFFFFF#000000##FFFFFF
##9E1A791.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A91B49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1a79;
/* rgb */ color: rgb(158, 26, 121);
/* oklch */ color: oklch(48.0% 0.188 342.8);
Tailwind
colors: {
  custom: {
    50: '#bf69a0',
    500: '#9e1a79',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a79;
$custom-light: #bf69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a79",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 316.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.18795,
    "h": 342.8
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#9E1A79
secondary
#4FC570
accent
#EE6C39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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