#8E1975#8E1975

#8E1975 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.177 H 338.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E1975
RGBrgb(142, 25, 117)
HSLhsl(313, 70%, 33%)
HSVhsv(313, 82%, 56%)
CMYKcmyk(0%, 82.4%, 17.6%, 44.3%)
CIE-LABlab(33.42, 55.46, -23.63)
CIE-LCHlch(33.42, 60.29, 336.93°)
OKLaboklab(44.96% 0.165 -0.0641)
OKLCHoklch(44.96% 0.177 338.8)
XYZxyz(14.7142, 7.7319, 17.5437)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1975 #198E32
analogous
#6D198E #8E1975 #8E193A
triadic
#8E1975 #758E19 #19758E
tetradic
#8E1975 #8E6D19 #198E32 #193A8E
square
#8E1975 #8E6D19 #198E32 #193A8E
split-complementary
#8E1975 #3A8E19 #198E6D
monochromatic
#26071F #5A104A #8E1975 #C222A0 #DE43BD

Accessibility & contrast

On white

8.25
#8E1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1975
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1975#FFFFFF#000000##FFFFFF
##8E19751.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#962046
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1975;
/* rgb */ color: rgb(142, 25, 117);
/* oklch */ color: oklch(45.0% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#b3659d',
    500: '#8e1975',
    950: '#000000',
  },
}
SCSS
$custom: #8e1975;
$custom-light: #b3659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1975",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 312.821,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.17699,
    "h": 338.8
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#8E1975
secondary
#44BF5E
accent
#ED613B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1975

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

Preview Lab → · Contrast checker → · Palette generator →

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