#9E1B40#9E1B40

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

Color values

HEX#9E1B40
RGBrgb(158, 27, 64)
HSLhsl(343, 71%, 36%)
HSVhsv(343, 83%, 62%)
CMYKcmyk(0%, 82.9%, 59.5%, 38%)
CIE-LABlab(34.85, 53.50, 13.02)
CIE-LCHlch(34.85, 55.06, 13.68°)
OKLaboklab(45.96% 0.1619 0.0324)
OKLCHoklch(45.96% 0.165 11.3)
XYZxyz(15.4195, 8.4254, 5.6638)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B40 #1B9E79
analogous
#9E1B82 #9E1B40 #9E371B
triadic
#9E1B40 #409E1B #1B409E
tetradic
#9E1B40 #829E1B #1B9E79 #371B9E
square
#9E1B40 #829E1B #1B9E79 #371B9E
split-complementary
#9E1B40 #1B9E37 #1B829E
monochromatic
#350916 #6A122B #9E1B40 #D22455 #E1527A

Accessibility & contrast

On white

7.82
#9E1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B40
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B40#FFFFFF#000000##FFFFFF
##9E1B401.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b40;
/* rgb */ color: rgb(158, 27, 64);
/* oklch */ color: oklch(46.0% 0.165 11.3);
Tailwind
colors: {
  custom: {
    50: '#c26774',
    500: '#9e1b40',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b40;
$custom-light: #c26774;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b40",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 343.053,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.16506,
    "h": 11.3
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#9E1B40
secondary
#51C4A4
accent
#EEBB3A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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