#9E1A7A#9E1A7A

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

Color values

HEX#9E1A7A
RGBrgb(158, 26, 122)
HSLhsl(316, 72%, 36%)
HSVhsv(316, 84%, 62%)
CMYKcmyk(0%, 83.5%, 22.8%, 38%)
CIE-LABlab(36.77, 59.58, -21.32)
CIE-LCHlch(36.77, 63.28, 340.31°)
OKLaboklab(48.01% 0.1796 -0.0573)
OKLCHoklch(48.01% 0.189 342.3)
XYZxyz(17.9835, 9.4150, 19.2788)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A7A #1A9E3E
analogous
#801A9E #9E1A7A #9E1A38
triadic
#9E1A7A #7A9E1A #1A7A9E
tetradic
#9E1A7A #9E801A #1A9E3E #1A389E
square
#9E1A7A #9E801A #1A9E3E #1A389E
split-complementary
#9E1A7A #389E1A #1A9E80
monochromatic
#350929 #691151 #9E1A7A #D323A3 #E250BA

Accessibility & contrast

On white

7.29
#9E1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A7A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A7A#FFFFFF#000000##FFFFFF
##9E1A7A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A81C4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1a7a;
/* rgb */ color: rgb(158, 26, 122);
/* oklch */ color: oklch(48.0% 0.189 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf69a0',
    500: '#9e1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a7a;
$custom-light: #bf69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a7a",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 316.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.18856,
    "h": 342.3
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#9E1A7A
secondary
#4FC56F
accent
#EE6B39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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