#9E173E#9E173E

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

Color values

HEX#9E173E
RGBrgb(158, 23, 62)
HSLhsl(343, 75%, 35%)
HSVhsv(343, 85%, 62%)
CMYKcmyk(0%, 85.4%, 60.8%, 38%)
CIE-LABlab(34.46, 54.35, 13.79)
CIE-LCHlch(34.46, 56.08, 14.24°)
OKLaboklab(45.65% 0.1643 0.0341)
OKLCHoklch(45.65% 0.168 11.7)
XYZxyz(15.2781, 8.2320, 5.3410)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E173E #179E77
analogous
#9E1781 #9E173E #9E3417
triadic
#9E173E #3E9E17 #173E9E
tetradic
#9E173E #819E17 #179E77 #34179E
square
#9E173E #819E17 #179E77 #34179E
split-complementary
#9E173E #179E34 #17819E
monochromatic
#330714 #690F29 #9E173E #D31F53 #E54B77

Accessibility & contrast

On white

7.94
#9E173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E173E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E173E#FFFFFF#000000##FFFFFF
##9E173E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#625B3A
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e173e;
/* rgb */ color: rgb(158, 23, 62);
/* oklch */ color: oklch(45.7% 0.168 11.7);
Tailwind
colors: {
  custom: {
    50: '#c26672',
    500: '#9e173e',
    950: '#000000',
  },
}
SCSS
$custom: #9e173e;
$custom-light: #c26672;
$custom-dark: #000000;
JSON
{
  "hex": "#9e173e",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 342.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.16775,
    "h": 11.7
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#9E173E
secondary
#4AC6A3
accent
#F1BB37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E173E

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

Preview Lab → · Contrast checker → · Palette generator →

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