#9E1A40#9E1A40

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

Color values

HEX#9E1A40
RGBrgb(158, 26, 64)
HSLhsl(343, 72%, 36%)
HSVhsv(343, 84%, 62%)
CMYKcmyk(0%, 83.5%, 59.5%, 38%)
CIE-LABlab(34.76, 53.76, 12.90)
CIE-LCHlch(34.76, 55.28, 13.49°)
OKLaboklab(45.89% 0.1627 0.0321)
OKLCHoklch(45.89% 0.166 11.2)
XYZxyz(15.3969, 8.3804, 5.6563)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A40 #1A9E78
analogous
#9E1A82 #9E1A40 #9E361A
triadic
#9E1A40 #409E1A #1A409E
tetradic
#9E1A40 #829E1A #1A9E78 #361A9E
square
#9E1A40 #829E1A #1A9E78 #361A9E
split-complementary
#9E1A40 #1A9E36 #1A829E
monochromatic
#350915 #69112B #9E1A40 #D32355 #E2507A

Accessibility & contrast

On white

7.85
#9E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A40
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A40#FFFFFF#000000##FFFFFF
##9E1A401.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1a40;
/* rgb */ color: rgb(158, 26, 64);
/* oklch */ color: oklch(45.9% 0.166 11.2);
Tailwind
colors: {
  custom: {
    50: '#c26774',
    500: '#9e1a40',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a40;
$custom-light: #c26774;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a40",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 342.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.16582,
    "h": 11.2
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#9E1A40
secondary
#4FC5A3
accent
#EEBA39
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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