#9E1B3E#9E1B3E

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

Color values

HEX#9E1B3E
RGBrgb(158, 27, 62)
HSLhsl(344, 71%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 82.9%, 60.8%, 38%)
CIE-LABlab(34.81, 53.36, 14.26)
CIE-LCHlch(34.81, 55.24, 14.96°)
OKLaboklab(45.91% 0.1611 0.0352)
OKLCHoklch(45.91% 0.165 12.3)
XYZxyz(15.3636, 8.4031, 5.3695)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B3E #1B9E7B
analogous
#9E1B80 #9E1B3E #9E391B
triadic
#9E1B3E #3E9E1B #1B3E9E
tetradic
#9E1B3E #809E1B #1B9E7B #391B9E
square
#9E1B3E #809E1B #1B9E7B #391B9E
split-complementary
#9E1B3E #1B9E39 #1B809E
monochromatic
#350915 #6A1229 #9E1B3E #D22453 #E15278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B3E#FFFFFF#000000##FFFFFF
##9E1B3E1.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)
#42413E
Deuteranopia (green-blind)
#635B3B
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b3e;
/* rgb */ color: rgb(158, 27, 62);
/* oklch */ color: oklch(45.9% 0.165 12.3);
Tailwind
colors: {
  custom: {
    50: '#c26772',
    500: '#9e1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b3e;
$custom-light: #c26772;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b3e",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 343.969,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.16485,
    "h": 12.3
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#9E1B3E
secondary
#51C4A5
accent
#EEBE3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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