#9E174B#9E174B

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

Color values

HEX#9E174B
RGBrgb(158, 23, 75)
HSLhsl(337, 75%, 35%)
HSVhsv(337, 85%, 62%)
CMYKcmyk(0%, 85.4%, 52.5%, 38%)
CIE-LABlab(34.79, 55.31, 5.76)
CIE-LCHlch(34.79, 55.61, 5.95°)
OKLaboklab(46% 0.1693 0.0151)
OKLCHoklch(46% 0.17 5.1)
XYZxyz(15.6784, 8.3922, 7.4495)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E174B #179E6A
analogous
#9E178E #9E174B #9E2617
triadic
#9E174B #4B9E17 #174B9E
tetradic
#9E174B #8E9E17 #179E6A #26179E
square
#9E174B #8E9E17 #179E6A #26179E
split-complementary
#9E174B #179E26 #178E9E
monochromatic
#330718 #690F32 #9E174B #D31F64 #E54B86

Accessibility & contrast

On white

7.84
#9E174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E174B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E174B#FFFFFF#000000##FFFFFF
##9E174B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e174b;
/* rgb */ color: rgb(158, 23, 75);
/* oklch */ color: oklch(46.0% 0.170 5.1);
Tailwind
colors: {
  custom: {
    50: '#c1667d',
    500: '#9e174b',
    950: '#000000',
  },
}
SCSS
$custom: #9e174b;
$custom-light: #c1667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e174b",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 336.889,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.16999,
    "h": 5.1
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#9E174B
secondary
#4AC697
accent
#F1A937
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E174B

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

Preview Lab → · Contrast checker → · Palette generator →

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