#8E174F#8E174F

#8E174F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.158 H 358.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8E174F
RGBrgb(142, 23, 79)
HSLhsl(332, 72%, 32%)
HSVhsv(332, 84%, 56%)
CMYKcmyk(0%, 83.8%, 44.4%, 44.3%)
CIE-LABlab(31.65, 51.41, -1.81)
CIE-LCHlch(31.65, 51.44, 357.98°)
OKLaboklab(43.16% 0.1582 -0.0041)
OKLCHoklch(43.16% 0.158 358.5)
XYZxyz(12.8740, 6.9298, 8.0553)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E174F #178E56
analogous
#8E178A #8E174F #8E1B17
triadic
#8E174F #4F8E17 #174F8E
tetradic
#8E174F #8A8E17 #178E56 #1B178E
square
#8E174F #8A8E17 #178E56 #1B178E
split-complementary
#8E174F #178E1B #178A8E
monochromatic
#250614 #590E32 #8E174F #C3206C #E03F8B

Accessibility & contrast

On white

8.80
#8E174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E174F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E174F#FFFFFF#000000##FFFFFF
##8E174F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#9A0031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e174f;
/* rgb */ color: rgb(142, 23, 79);
/* oklch */ color: oklch(43.2% 0.158 358.5);
Tailwind
colors: {
  custom: {
    50: '#b46380',
    500: '#8e174f',
    950: '#000000',
  },
}
SCSS
$custom: #8e174f;
$custom-light: #b46380;
$custom-dark: #000000;
JSON
{
  "hex": "#8e174f",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 331.765,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.15829,
    "h": 358.5
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#8E174F
secondary
#40C084
accent
#EF9939
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E174F

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

Preview Lab → · Contrast checker → · Palette generator →

#8E174F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva