#9E1E7A#9E1E7A

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

Color values

HEX#9E1E7A
RGBrgb(158, 30, 122)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 62%)
CMYKcmyk(0%, 81%, 22.8%, 38%)
CIE-LABlab(37.12, 58.57, -20.78)
CIE-LCHlch(37.12, 62.14, 340.47°)
OKLaboklab(48.26% 0.1765 -0.0558)
OKLCHoklch(48.26% 0.185 342.5)
XYZxyz(18.0784, 9.6047, 19.3104)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E7A #1E9E42
analogous
#821E9E #9E1E7A #9E1E3A
triadic
#9E1E7A #7A9E1E #1E7A9E
tetradic
#9E1E7A #9E821E #1E9E42 #1E3A9E
square
#9E1E7A #9E821E #1E9E42 #1E3A9E
split-complementary
#9E1E7A #3A9E1E #1E9E82
monochromatic
#370A2B #6B1452 #9E1E7A #D128A2 #DF57B9

Accessibility & contrast

On white

7.19
#9E1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E7A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E7A#FFFFFF#000000##FFFFFF
##9E1E7A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A81F4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1e7a;
/* rgb */ color: rgb(158, 30, 122);
/* oklch */ color: oklch(48.3% 0.185 342.5);
Tailwind
colors: {
  custom: {
    50: '#bf6aa0',
    500: '#9e1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e7a;
$custom-light: #bf6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e7a",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 316.875,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.18512,
    "h": 342.5
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#9E1E7A
secondary
#55C374
accent
#EB6E3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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