#9E1B3F#9E1B3F

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

Color values

HEX#9E1B3F
RGBrgb(158, 27, 63)
HSLhsl(344, 71%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 82.9%, 60.1%, 38%)
CIE-LABlab(34.83, 53.43, 13.64)
CIE-LCHlch(34.83, 55.14, 14.32°)
OKLaboklab(45.93% 0.1615 0.0338)
OKLCHoklch(45.93% 0.165 11.8)
XYZxyz(15.3913, 8.4142, 5.5153)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B3F #1B9E7A
analogous
#9E1B81 #9E1B3F #9E381B
triadic
#9E1B3F #3F9E1B #1B3F9E
tetradic
#9E1B3F #819E1B #1B9E7A #381B9E
square
#9E1B3F #819E1B #1B9E7A #381B9E
split-complementary
#9E1B3F #1B9E38 #1B819E
monochromatic
#350915 #6A122A #9E1B3F #D22454 #E15279

Accessibility & contrast

On white

7.83
#9E1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B3F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B3F#FFFFFF#000000##FFFFFF
##9E1B3F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#635B3C
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b3f;
/* rgb */ color: rgb(158, 27, 63);
/* oklch */ color: oklch(45.9% 0.165 11.8);
Tailwind
colors: {
  custom: {
    50: '#c26773',
    500: '#9e1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b3f;
$custom-light: #c26773;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b3f",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 343.511,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.16495,
    "h": 11.8
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#9E1B3F
secondary
#51C4A4
accent
#EEBC3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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