#9E1A3E#9E1A3E

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

Color values

HEX#9E1A3E
RGBrgb(158, 26, 62)
HSLhsl(344, 72%, 36%)
HSVhsv(344, 84%, 62%)
CMYKcmyk(0%, 83.5%, 60.8%, 38%)
CIE-LABlab(34.72, 53.62, 14.14)
CIE-LCHlch(34.72, 55.46, 14.77°)
OKLaboklab(45.84% 0.1619 0.0349)
OKLCHoklch(45.84% 0.166 12.2)
XYZxyz(15.3410, 8.3580, 5.3620)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A3E #1A9E7A
analogous
#9E1A80 #9E1A3E #9E381A
triadic
#9E1A3E #3E9E1A #1A3E9E
tetradic
#9E1A3E #809E1A #1A9E7A #381A9E
square
#9E1A3E #809E1A #1A9E7A #381A9E
split-complementary
#9E1A3E #1A9E38 #1A809E
monochromatic
#350915 #691129 #9E1A3E #D32353 #E25078

Accessibility & contrast

On white

7.86
#9E1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A3E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A3E#FFFFFF#000000##FFFFFF
##9E1A3E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403E
Deuteranopia (green-blind)
#635B3B
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a3e;
/* rgb */ color: rgb(158, 26, 62);
/* oklch */ color: oklch(45.8% 0.166 12.2);
Tailwind
colors: {
  custom: {
    50: '#c26772',
    500: '#9e1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a3e;
$custom-light: #c26772;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a3e",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 343.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.1656,
    "h": 12.2
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#9E1A3E
secondary
#4FC5A5
accent
#EEBD39
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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