#9E1A82#9E1A82

#9E1A82 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.194 H 338.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1A82
RGBrgb(158, 26, 130)
HSLhsl(313, 72%, 36%)
HSVhsv(313, 84%, 62%)
CMYKcmyk(0%, 83.5%, 17.7%, 38%)
CIE-LABlab(37.15, 60.65, -25.71)
CIE-LCHlch(37.15, 65.88, 337.03°)
OKLaboklab(48.41% 0.1806 -0.0698)
OKLCHoklch(48.41% 0.194 338.9)
XYZxyz(18.4997, 9.6215, 21.9976)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A82 #1A9E36
analogous
#781A9E #9E1A82 #9E1A40
triadic
#9E1A82 #829E1A #1A829E
tetradic
#9E1A82 #9E781A #1A9E36 #1A409E
square
#9E1A82 #9E781A #1A9E36 #1A409E
split-complementary
#9E1A82 #409E1A #1A9E78
monochromatic
#35092C #691157 #9E1A82 #D323AD #E250C3

Accessibility & contrast

On white

7.18
#9E1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A82
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A82#FFFFFF#000000##FFFFFF
##9E1A821.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7224E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1a82;
/* rgb */ color: rgb(158, 26, 130);
/* oklch */ color: oklch(48.4% 0.194 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf69a6',
    500: '#9e1a82',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a82;
$custom-light: #bf69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a82",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 312.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.1936,
    "h": 338.9
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#9E1A82
secondary
#4FC568
accent
#EE6039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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