#9E1E77#9E1E77

#9E1E77 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.183 H 343.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E1E77
RGBrgb(158, 30, 119)
HSLhsl(318, 68%, 37%)
HSVhsv(318, 81%, 62%)
CMYKcmyk(0%, 81%, 24.7%, 38%)
CIE-LABlab(36.99, 58.18, -19.11)
CIE-LCHlch(36.99, 61.23, 341.82°)
OKLaboklab(48.12% 0.176 -0.0511)
OKLCHoklch(48.12% 0.183 343.8)
XYZxyz(17.8953, 9.5315, 18.3465)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E77 #1E9E45
analogous
#851E9E #9E1E77 #9E1E37
triadic
#9E1E77 #779E1E #1E779E
tetradic
#9E1E77 #9E851E #1E9E45 #1E379E
square
#9E1E77 #9E851E #1E9E45 #1E379E
split-complementary
#9E1E77 #379E1E #1E9E85
monochromatic
#370A2A #6B1450 #9E1E77 #D1289E #DF57B6

Accessibility & contrast

On white

7.23
#9E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E77
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E77#FFFFFF#000000##FFFFFF
##9E1E771.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#A91D49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1e77;
/* rgb */ color: rgb(158, 30, 119);
/* oklch */ color: oklch(48.1% 0.183 343.8);
Tailwind
colors: {
  custom: {
    50: '#bf6a9e',
    500: '#9e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e77;
$custom-light: #bf6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e77",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 318.281,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.1833,
    "h": 343.8
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#9E1E77
secondary
#55C376
accent
#EB723D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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