#9E1E72#9E1E72

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

Color values

HEX#9E1E72
RGBrgb(158, 30, 114)
HSLhsl(321, 68%, 37%)
HSVhsv(321, 81%, 62%)
CMYKcmyk(0%, 81%, 27.8%, 38%)
CIE-LABlab(36.77, 57.55, -16.30)
CIE-LCHlch(36.77, 59.81, 344.18°)
OKLaboklab(47.89% 0.1751 -0.0432)
OKLCHoklch(47.89% 0.18 346.1)
XYZxyz(17.6029, 9.4146, 16.8065)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E72 #1E9E4A
analogous
#8A1E9E #9E1E72 #9E1E32
triadic
#9E1E72 #729E1E #1E729E
tetradic
#9E1E72 #9E8A1E #1E9E4A #1E329E
square
#9E1E72 #9E8A1E #1E9E4A #1E329E
split-complementary
#9E1E72 #329E1E #1E9E8A
monochromatic
#370A28 #6B144D #9E1E72 #D12897 #DF57B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1E72#FFFFFF#000000##FFFFFF
##9E1E721.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)
#314974
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A91A46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1e72;
/* rgb */ color: rgb(158, 30, 114);
/* oklch */ color: oklch(47.9% 0.180 346.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a9a',
    500: '#9e1e72',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e72;
$custom-light: #bf6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e72",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 320.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47889,
    "c": 0.18038,
    "h": 346.1
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#9E1E72
secondary
#55C37B
accent
#EB793D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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