#9E1E71#9E1E71

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

Color values

HEX#9E1E71
RGBrgb(158, 30, 113)
HSLhsl(321, 68%, 37%)
HSVhsv(321, 81%, 62%)
CMYKcmyk(0%, 81%, 28.5%, 38%)
CIE-LABlab(36.73, 57.42, -15.74)
CIE-LCHlch(36.73, 59.54, 344.68°)
OKLaboklab(47.85% 0.1749 -0.0417)
OKLCHoklch(47.85% 0.18 346.6)
XYZxyz(17.5463, 9.3919, 16.5084)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E71 #1E9E4B
analogous
#8B1E9E #9E1E71 #9E1E31
triadic
#9E1E71 #719E1E #1E719E
tetradic
#9E1E71 #9E8B1E #1E9E4B #1E319E
square
#9E1E71 #9E8B1E #1E9E4B #1E319E
split-complementary
#9E1E71 #319E1E #1E9E8B
monochromatic
#370A27 #6B144C #9E1E71 #D12896 #DF57AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1E71#FFFFFF#000000##FFFFFF
##9E1E711.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)
#324973
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#A91946
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1e71;
/* rgb */ color: rgb(158, 30, 113);
/* oklch */ color: oklch(47.8% 0.180 346.6);
Tailwind
colors: {
  custom: {
    50: '#bf6a9a',
    500: '#9e1e71',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e71;
$custom-light: #bf6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e71",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 321.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.17981,
    "h": 346.6
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#9E1E71
secondary
#55C37C
accent
#EB7A3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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