#9E1740#9E1740

#9E1740 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.168 H 10.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1740
RGBrgb(158, 23, 64)
HSLhsl(342, 75%, 35%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 85.4%, 59.5%, 38%)
CIE-LABlab(34.51, 54.49, 12.55)
CIE-LCHlch(34.51, 55.91, 12.97°)
OKLaboklab(45.7% 0.1651 0.0313)
OKLCHoklch(45.7% 0.168 10.7)
XYZxyz(15.3339, 8.2544, 5.6353)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1740 #179E75
analogous
#9E1783 #9E1740 #9E3217
triadic
#9E1740 #409E17 #17409E
tetradic
#9E1740 #839E17 #179E75 #32179E
square
#9E1740 #839E17 #179E75 #32179E
split-complementary
#9E1740 #179E32 #17839E
monochromatic
#330715 #690F2A #9E1740 #D31F56 #E54B79

Accessibility & contrast

On white

7.92
#9E1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1740
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1740#FFFFFF#000000##FFFFFF
##9E17401.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.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: #9e1740;
/* rgb */ color: rgb(158, 23, 64);
/* oklch */ color: oklch(45.7% 0.168 10.7);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9e1740',
    950: '#000000',
  },
}
SCSS
$custom: #9e1740;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1740",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 341.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.16798,
    "h": 10.7
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#9E1740
secondary
#4AC6A1
accent
#F1B937
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1740

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

Preview Lab → · Contrast checker → · Palette generator →

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