#9E173F#9E173F

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

Color values

HEX#9E173F
RGBrgb(158, 23, 63)
HSLhsl(342, 75%, 35%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 85.4%, 60.1%, 38%)
CIE-LABlab(34.48, 54.42, 13.17)
CIE-LCHlch(34.48, 55.99, 13.60°)
OKLaboklab(45.68% 0.1647 0.0327)
OKLCHoklch(45.68% 0.168 11.2)
XYZxyz(15.3057, 8.2431, 5.4868)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E173F #179E76
analogous
#9E1782 #9E173F #9E3217
triadic
#9E173F #3F9E17 #173F9E
tetradic
#9E173F #829E17 #179E76 #32179E
square
#9E173F #829E17 #179E76 #32179E
split-complementary
#9E173F #179E32 #17829E
monochromatic
#330714 #690F2A #9E173F #D31F54 #E54B78

Accessibility & contrast

On white

7.93
#9E173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E173F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E173F#FFFFFF#000000##FFFFFF
##9E173F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e173f;
/* rgb */ color: rgb(158, 23, 63);
/* oklch */ color: oklch(45.7% 0.168 11.2);
Tailwind
colors: {
  custom: {
    50: '#c26673',
    500: '#9e173f',
    950: '#000000',
  },
}
SCSS
$custom: #9e173f;
$custom-light: #c26673;
$custom-dark: #000000;
JSON
{
  "hex": "#9e173f",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 342.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.16786,
    "h": 11.2
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#9E173F
secondary
#4AC6A2
accent
#F1BA37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E173F

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

Preview Lab → · Contrast checker → · Palette generator →

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