#9E1840#9E1840

#9E1840 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 10.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9E1840
RGBrgb(158, 24, 64)
HSLhsl(342, 74%, 36%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 84.8%, 59.5%, 38%)
CIE-LABlab(34.59, 54.25, 12.66)
CIE-LCHlch(34.59, 55.71, 13.14°)
OKLaboklab(45.76% 0.1643 0.0315)
OKLCHoklch(45.76% 0.167 10.9)
XYZxyz(15.3542, 8.2949, 5.6421)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1840 #189E76
analogous
#9E1883 #9E1840 #9E3318
triadic
#9E1840 #409E18 #18409E
tetradic
#9E1840 #839E18 #189E76 #33189E
square
#9E1840 #839E18 #189E76 #33189E
split-complementary
#9E1840 #189E33 #18839E
monochromatic
#340815 #69102A #9E1840 #D32056 #E44D7A

Accessibility & contrast

On white

7.90
#9E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1840
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1840#FFFFFF#000000##FFFFFF
##9E18401.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1840;
/* rgb */ color: rgb(158, 24, 64);
/* oklch */ color: oklch(45.8% 0.167 10.9);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9e1840',
    950: '#000000',
  },
}
SCSS
$custom: #9e1840;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1840",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 342.09,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.16729,
    "h": 10.9
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#9E1840
secondary
#4CC6A1
accent
#F0B938
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1840

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

Preview Lab → · Contrast checker → · Palette generator →

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