#9E1A41#9E1A41

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

Color values

HEX#9E1A41
RGBrgb(158, 26, 65)
HSLhsl(342, 72%, 36%)
HSVhsv(342, 84%, 62%)
CMYKcmyk(0%, 83.5%, 58.9%, 38%)
CIE-LABlab(34.79, 53.83, 12.28)
CIE-LCHlch(34.79, 55.21, 12.85°)
OKLaboklab(45.91% 0.1631 0.0307)
OKLCHoklch(45.91% 0.166 10.6)
XYZxyz(15.4257, 8.3919, 5.8075)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A41 #1A9E77
analogous
#9E1A83 #9E1A41 #9E351A
triadic
#9E1A41 #419E1A #1A419E
tetradic
#9E1A41 #839E1A #1A9E77 #351A9E
square
#9E1A41 #839E1A #1A9E77 #351A9E
split-complementary
#9E1A41 #1A9E35 #1A839E
monochromatic
#350916 #69112B #9E1A41 #D32357 #E2507B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1A41#FFFFFF#000000##FFFFFF
##9E1A411.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)
#414142
Deuteranopia (green-blind)
#625B3E
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a41;
/* rgb */ color: rgb(158, 26, 65);
/* oklch */ color: oklch(45.9% 0.166 10.6);
Tailwind
colors: {
  custom: {
    50: '#c16775',
    500: '#9e1a41',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a41;
$custom-light: #c16775;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a41",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 342.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.16595,
    "h": 10.6
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#9E1A41
secondary
#4FC5A2
accent
#EEB939
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A41

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

Preview Lab → · Contrast checker → · Palette generator →

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