#8E1F74#8E1F74

#8E1F74 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 339.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8E1F74
RGBrgb(142, 31, 116)
HSLhsl(314, 64%, 34%)
HSVhsv(314, 78%, 56%)
CMYKcmyk(0%, 78.2%, 18.3%, 44.3%)
CIE-LABlab(33.97, 53.60, -22.14)
CIE-LCHlch(33.97, 57.99, 337.56°)
OKLaboklab(45.34% 0.1597 -0.0599)
OKLCHoklch(45.34% 0.171 339.4)
XYZxyz(14.7981, 7.9932, 17.2831)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F74 #1F8E39
analogous
#711F8E #8E1F74 #8E1F3D
triadic
#8E1F74 #748E1F #1F748E
tetradic
#8E1F74 #8E711F #1F8E39 #1F3D8E
square
#8E1F74 #8E711F #1F8E39 #1F3D8E
split-complementary
#8E1F74 #3D8E1F #1F8E71
monochromatic
#2A0922 #5C144B #8E1F74 #C02A9D #D94FB8

Accessibility & contrast

On white

8.08
#8E1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F74
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F74#FFFFFF#000000##FFFFFF
##8E1F741.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#972447
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1f74;
/* rgb */ color: rgb(142, 31, 116);
/* oklch */ color: oklch(45.3% 0.171 339.4);
Tailwind
colors: {
  custom: {
    50: '#b3689c',
    500: '#8e1f74',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f74;
$custom-light: #b3689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f74",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 314.054,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.17053,
    "h": 339.4
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#8E1F74
secondary
#4DBB67
accent
#E76841
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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