#9E1A4B#9E1A4B

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

Color values

HEX#9E1A4B
RGBrgb(158, 26, 75)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 84%, 62%)
CMYKcmyk(0%, 83.5%, 52.5%, 38%)
CIE-LABlab(35.04, 54.58, 6.12)
CIE-LCHlch(35.04, 54.93, 6.40°)
OKLaboklab(46.18% 0.167 0.016)
OKLCHoklch(46.18% 0.168 5.5)
XYZxyz(15.7414, 8.5182, 7.4705)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A4B #1A9E6D
analogous
#9E1A8D #9E1A4B #9E2B1A
triadic
#9E1A4B #4B9E1A #1A4B9E
tetradic
#9E1A4B #8D9E1A #1A9E6D #2B1A9E
square
#9E1A4B #8D9E1A #1A9E6D #2B1A9E
split-complementary
#9E1A4B #1A9E2B #1A8D9E
monochromatic
#350919 #691132 #9E1A4B #D32364 #E25086

Accessibility & contrast

On white

7.77
#9E1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A4B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A4B#FFFFFF#000000##FFFFFF
##9E1A4B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a4b;
/* rgb */ color: rgb(158, 26, 75);
/* oklch */ color: oklch(46.2% 0.168 5.5);
Tailwind
colors: {
  custom: {
    50: '#c1677d',
    500: '#9e1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a4b;
$custom-light: #c1677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a4b",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 337.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.16773,
    "h": 5.5
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#9E1A4B
secondary
#4FC599
accent
#EEAB39
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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