#9E1A42#9E1A42

#9E1A42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 10.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9E1A42
RGBrgb(158, 26, 66)
HSLhsl(342, 72%, 36%)
HSVhsv(342, 84%, 62%)
CMYKcmyk(0%, 83.5%, 58.2%, 38%)
CIE-LABlab(34.81, 53.90, 11.66)
CIE-LCHlch(34.81, 55.15, 12.20°)
OKLaboklab(45.94% 0.1635 0.0292)
OKLCHoklch(45.94% 0.166 10.1)
XYZxyz(15.4549, 8.4035, 5.9615)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A42 #1A9E76
analogous
#9E1A84 #9E1A42 #9E341A
triadic
#9E1A42 #429E1A #1A429E
tetradic
#9E1A42 #849E1A #1A9E76 #341A9E
square
#9E1A42 #849E1A #1A9E76 #341A9E
split-complementary
#9E1A42 #1A9E34 #1A849E
monochromatic
#350916 #69112C #9E1A42 #D32358 #E2507C

Accessibility & contrast

On white

7.84
#9E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A42
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A42#FFFFFF#000000##FFFFFF
##9E1A421.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a42;
/* rgb */ color: rgb(158, 26, 66);
/* oklch */ color: oklch(45.9% 0.166 10.1);
Tailwind
colors: {
  custom: {
    50: '#c16776',
    500: '#9e1a42',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a42;
$custom-light: #c16776;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a42",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 341.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.16607,
    "h": 10.1
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#9E1A42
secondary
#4FC5A1
accent
#EEB839
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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