#9E1A4A#9E1A4A

#9E1A4A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.168 H 6.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9E1A4A
RGBrgb(158, 26, 74)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 84%, 62%)
CMYKcmyk(0%, 83.5%, 53.2%, 38%)
CIE-LABlab(35.01, 54.50, 6.73)
CIE-LCHlch(35.01, 54.92, 7.04°)
OKLaboklab(46.15% 0.1666 0.0175)
OKLCHoklch(46.15% 0.168 6)
XYZxyz(15.7075, 8.5046, 7.2917)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A4A #1A9E6E
analogous
#9E1A8C #9E1A4A #9E2C1A
triadic
#9E1A4A #4A9E1A #1A4A9E
tetradic
#9E1A4A #8C9E1A #1A9E6E #2C1A9E
square
#9E1A4A #8C9E1A #1A9E6E #2C1A9E
split-complementary
#9E1A4A #1A9E2C #1A8C9E
monochromatic
#350919 #691131 #9E1A4A #D32363 #E25085

Accessibility & contrast

On white

7.78
#9E1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A4A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A4A#FFFFFF#000000##FFFFFF
##9E1A4A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a4a;
/* rgb */ color: rgb(158, 26, 74);
/* oklch */ color: oklch(46.2% 0.168 6.0);
Tailwind
colors: {
  custom: {
    50: '#c1677c',
    500: '#9e1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a4a;
$custom-light: #c1677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a4a",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 338.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.16752,
    "h": 6
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#9E1A4A
secondary
#4FC59A
accent
#EEAD39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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