#9E1A5A#9E1A5A

#9E1A5A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.172 H 357.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9E1A5A
RGBrgb(158, 26, 90)
HSLhsl(331, 72%, 36%)
HSVhsv(331, 84%, 62%)
CMYKcmyk(0%, 83.5%, 43%, 38%)
CIE-LABlab(35.50, 55.93, -2.93)
CIE-LCHlch(35.50, 56.00, 357.00°)
OKLaboklab(46.66% 0.1722 -0.007)
OKLCHoklch(46.66% 0.172 357.7)
XYZxyz(16.3167, 8.7483, 10.5003)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A5A #1A9E5E
analogous
#9E1A9C #9E1A5A #9E1C1A
triadic
#9E1A5A #5A9E1A #1A5A9E
tetradic
#9E1A5A #9C9E1A #1A9E5E #1C1A9E
square
#9E1A5A #9C9E1A #1A9E5E #1C1A9E
split-complementary
#9E1A5A #1A9E1C #1A9C9E
monochromatic
#35091E #69113C #9E1A5A #D32378 #E25097

Accessibility & contrast

On white

7.64
#9E1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A5A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A5A#FFFFFF#000000##FFFFFF
##9E1A5A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445B
Deuteranopia (green-blind)
#5E5C57
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1a5a;
/* rgb */ color: rgb(158, 26, 90);
/* oklch */ color: oklch(46.7% 0.172 357.7);
Tailwind
colors: {
  custom: {
    50: '#c06788',
    500: '#9e1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a5a;
$custom-light: #c06788;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a5a",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 330.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.17234,
    "h": 357.7
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#9E1A5A
secondary
#4FC58C
accent
#EE9739
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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