#9E173D#9E173D

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

Color values

HEX#9E173D
RGBrgb(158, 23, 61)
HSLhsl(343, 75%, 35%)
HSVhsv(343, 85%, 62%)
CMYKcmyk(0%, 85.4%, 61.4%, 38%)
CIE-LABlab(34.44, 54.29, 14.41)
CIE-LCHlch(34.44, 56.17, 14.87°)
OKLaboklab(45.63% 0.1639 0.0355)
OKLCHoklch(45.63% 0.168 12.2)
XYZxyz(15.2509, 8.2211, 5.1978)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E173D #179E78
analogous
#9E1780 #9E173D #9E3417
triadic
#9E173D #3D9E17 #173D9E
tetradic
#9E173D #809E17 #179E78 #34179E
square
#9E173D #809E17 #179E78 #34179E
split-complementary
#9E173D #179E34 #17809E
monochromatic
#330714 #690F28 #9E173D #D31F52 #E54B76

Accessibility & contrast

On white

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

On black

2.64
#9E173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E173D#FFFFFF#000000##FFFFFF
##9E173D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e173d;
/* rgb */ color: rgb(158, 23, 61);
/* oklch */ color: oklch(45.6% 0.168 12.2);
Tailwind
colors: {
  custom: {
    50: '#c26672',
    500: '#9e173d',
    950: '#000000',
  },
}
SCSS
$custom: #9e173d;
$custom-light: #c26672;
$custom-dark: #000000;
JSON
{
  "hex": "#9e173d",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 343.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.16765,
    "h": 12.2
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#9E173D
secondary
#4AC6A3
accent
#F1BD37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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