#9E1A7B#9E1A7B

#9E1A7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.189 H 341.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9E1A7B
RGBrgb(158, 26, 123)
HSLhsl(316, 72%, 36%)
HSVhsv(316, 84%, 62%)
CMYKcmyk(0%, 83.5%, 22.2%, 38%)
CIE-LABlab(36.82, 59.71, -21.87)
CIE-LCHlch(36.82, 63.59, 339.88°)
OKLaboklab(48.06% 0.1798 -0.0589)
OKLCHoklch(48.06% 0.189 341.9)
XYZxyz(18.0458, 9.4399, 19.6068)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A7B #1A9E3D
analogous
#7F1A9E #9E1A7B #9E1A39
triadic
#9E1A7B #7B9E1A #1A7B9E
tetradic
#9E1A7B #9E7F1A #1A9E3D #1A399E
square
#9E1A7B #9E7F1A #1A9E3D #1A399E
split-complementary
#9E1A7B #399E1A #1A9E7F
monochromatic
#350929 #691152 #9E1A7B #D323A4 #E250BC

Accessibility & contrast

On white

7.27
#9E1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A7B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A7B#FFFFFF#000000##FFFFFF
##9E1A7B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A81D4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1a7b;
/* rgb */ color: rgb(158, 26, 123);
/* oklch */ color: oklch(48.1% 0.189 341.9);
Tailwind
colors: {
  custom: {
    50: '#bf69a1',
    500: '#9e1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a7b;
$custom-light: #bf69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a7b",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 315.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.18917,
    "h": 341.9
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#9E1A7B
secondary
#4FC56E
accent
#EE6939
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9E1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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