#9E1C4C#9E1C4C

#9E1C4C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.166 H 5.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9E1C4C
RGBrgb(158, 28, 76)
HSLhsl(338, 70%, 36%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 82.3%, 51.9%, 38%)
CIE-LABlab(35.25, 54.15, 5.77)
CIE-LCHlch(35.25, 54.45, 6.08°)
OKLaboklab(46.35% 0.1657 0.0151)
OKLCHoklch(46.35% 0.166 5.2)
XYZxyz(15.8218, 8.6237, 7.6675)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C4C #1C9E6E
analogous
#9E1C8D #9E1C4C #9E2D1C
triadic
#9E1C4C #4C9E1C #1C4C9E
tetradic
#9E1C4C #8D9E1C #1C9E6E #2D1C9E
square
#9E1C4C #8D9E1C #1C9E6E #2D1C9E
split-complementary
#9E1C4C #1C9E2D #1C8D9E
monochromatic
#360A1A #6A1333 #9E1C4C #D22565 #E15488

Accessibility & contrast

On white

7.71
#9E1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C4C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C4C#FFFFFF#000000##FFFFFF
##9E1C4C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1c4c;
/* rgb */ color: rgb(158, 28, 76);
/* oklch */ color: oklch(46.3% 0.166 5.2);
Tailwind
colors: {
  custom: {
    50: '#c1687d',
    500: '#9e1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c4c;
$custom-light: #c1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c4c",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 337.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.16636,
    "h": 5.2
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#9E1C4C
secondary
#52C49A
accent
#EDAB3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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