#8E1175#8E1175

#8E1175 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.5% C 0.183 H 338.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8E1175
RGBrgb(142, 17, 117)
HSLhsl(312, 79%, 31%)
HSVhsv(312, 88%, 56%)
CMYKcmyk(0%, 88%, 17.6%, 44.3%)
CIE-LABlab(32.78, 57.31, -24.62)
CIE-LCHlch(32.78, 62.37, 336.75°)
OKLaboklab(44.51% 0.1706 -0.0669)
OKLCHoklch(44.51% 0.183 338.6)
XYZxyz(14.5671, 7.4375, 17.4946)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1175 #118E2A
analogous
#68118E #8E1175 #8E1136
triadic
#8E1175 #758E11 #11758E
tetradic
#8E1175 #8E6811 #118E2A #11368E
square
#8E1175 #8E6811 #118E2A #11368E
split-complementary
#8E1175 #368E11 #118E68
monochromatic
#21041B #570A48 #8E1175 #C518A2 #E733C3

Accessibility & contrast

On white

8.44
#8E1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1175
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1175#FFFFFF#000000##FFFFFF
##8E11751.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#475472
Tritanopia (blue-blind)
#971A45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1175;
/* rgb */ color: rgb(142, 17, 117);
/* oklch */ color: oklch(44.5% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#b3639d',
    500: '#8e1175',
    950: '#000000',
  },
}
SCSS
$custom: #8e1175;
$custom-light: #b3639d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1175",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 312,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.1832,
    "h": 338.6
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#8E1175
secondary
#38C254
accent
#F55A33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1175

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

Preview Lab → · Contrast checker → · Palette generator →

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