#9E1A7E#9E1A7E

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

Color values

HEX#9E1A7E
RGBrgb(158, 26, 126)
HSLhsl(315, 72%, 36%)
HSVhsv(315, 84%, 62%)
CMYKcmyk(0%, 83.5%, 20.3%, 38%)
CIE-LABlab(36.96, 60.11, -23.53)
CIE-LCHlch(36.96, 64.55, 338.63°)
OKLaboklab(48.2% 0.1802 -0.0635)
OKLCHoklch(48.2% 0.191 340.6)
XYZxyz(18.2364, 9.5162, 20.6110)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A7E #1A9E3A
analogous
#7C1A9E #9E1A7E #9E1A3C
triadic
#9E1A7E #7E9E1A #1A7E9E
tetradic
#9E1A7E #9E7C1A #1A9E3A #1A3C9E
square
#9E1A7E #9E7C1A #1A9E3A #1A3C9E
split-complementary
#9E1A7E #3C9E1A #1A9E7C
monochromatic
#35092A #691154 #9E1A7E #D323A8 #E250BF

Accessibility & contrast

On white

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

On black

2.90
#9E1A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E1A7E#FFFFFF#000000##FFFFFF
##9E1A7E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A81F4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1a7e;
/* rgb */ color: rgb(158, 26, 126);
/* oklch */ color: oklch(48.2% 0.191 340.6);
Tailwind
colors: {
  custom: {
    50: '#bf69a3',
    500: '#9e1a7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a7e;
$custom-light: #bf69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a7e",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 314.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.19104,
    "h": 340.6
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#9E1A7E
secondary
#4FC56C
accent
#EE6539
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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