#9E1A4C#9E1A4C

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

Color values

HEX#9E1A4C
RGBrgb(158, 26, 76)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 84%, 62%)
CMYKcmyk(0%, 83.5%, 51.9%, 38%)
CIE-LABlab(35.07, 54.67, 5.51)
CIE-LCHlch(35.07, 54.94, 5.76°)
OKLaboklab(46.21% 0.1674 0.0145)
OKLCHoklch(46.21% 0.168 5)
XYZxyz(15.7759, 8.5320, 7.6522)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A4C #1A9E6C
analogous
#9E1A8E #9E1A4C #9E2A1A
triadic
#9E1A4C #4C9E1A #1A4C9E
tetradic
#9E1A4C #8E9E1A #1A9E6C #2A1A9E
square
#9E1A4C #8E9E1A #1A9E6C #2A1A9E
split-complementary
#9E1A4C #1A9E2A #1A8E9E
monochromatic
#350919 #691133 #9E1A4C #D32365 #E25087

Accessibility & contrast

On white

7.76
#9E1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A4C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A4C#FFFFFF#000000##FFFFFF
##9E1A4C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#605C49
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a4c;
/* rgb */ color: rgb(158, 26, 76);
/* oklch */ color: oklch(46.2% 0.168 5.0);
Tailwind
colors: {
  custom: {
    50: '#c1677d',
    500: '#9e1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a4c;
$custom-light: #c1677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a4c",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 337.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.16798,
    "h": 5
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#9E1A4C
secondary
#4FC598
accent
#EEAA39
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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