#9E174A#9E174A

#9E174A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 5.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9E174A
RGBrgb(158, 23, 74)
HSLhsl(337, 75%, 35%)
HSVhsv(337, 85%, 62%)
CMYKcmyk(0%, 85.4%, 53.2%, 38%)
CIE-LABlab(34.76, 55.23, 6.38)
CIE-LCHlch(34.76, 55.59, 6.59°)
OKLaboklab(45.97% 0.1689 0.0166)
OKLCHoklch(45.97% 0.17 5.6)
XYZxyz(15.6445, 8.3786, 7.2707)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E174A #179E6B
analogous
#9E178E #9E174A #9E2717
triadic
#9E174A #4A9E17 #174A9E
tetradic
#9E174A #8E9E17 #179E6B #27179E
square
#9E174A #8E9E17 #179E6B #27179E
split-complementary
#9E174A #179E27 #178E9E
monochromatic
#330718 #690F31 #9E174A #D31F63 #E54B85

Accessibility & contrast

On white

7.85
#9E174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E174A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E174A#FFFFFF#000000##FFFFFF
##9E174A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e174a;
/* rgb */ color: rgb(158, 23, 74);
/* oklch */ color: oklch(46.0% 0.170 5.6);
Tailwind
colors: {
  custom: {
    50: '#c1667c',
    500: '#9e174a',
    950: '#000000',
  },
}
SCSS
$custom: #9e174a;
$custom-light: #c1667c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e174a",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 337.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.16975,
    "h": 5.6
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#9E174A
secondary
#4AC698
accent
#F1AB37
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E174A

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

Preview Lab → · Contrast checker → · Palette generator →

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