#8E1F79#8E1F79

#8E1F79 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.174 H 337.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8E1F79
RGBrgb(142, 31, 121)
HSLhsl(311, 64%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 78.2%, 14.8%, 44.3%)
CIE-LABlab(34.22, 54.33, -24.90)
CIE-LCHlch(34.22, 59.76, 335.38°)
OKLaboklab(45.6% 0.1602 -0.0678)
OKLCHoklch(45.6% 0.174 337.1)
XYZxyz(15.0968, 8.1127, 18.8563)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F79 #1F8E34
analogous
#6C1F8E #8E1F79 #8E1F42
triadic
#8E1F79 #798E1F #1F798E
tetradic
#8E1F79 #8E6C1F #1F8E34 #1F428E
square
#8E1F79 #8E6C1F #1F8E34 #1F428E
split-complementary
#8E1F79 #428E1F #1F8E6C
monochromatic
#2A0923 #5C144E #8E1F79 #C02AA4 #D94FBE

Accessibility & contrast

On white

8.01
#8E1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F79
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F79#FFFFFF#000000##FFFFFF
##8E1F791.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#4A5676
Tritanopia (blue-blind)
#96264A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1f79;
/* rgb */ color: rgb(142, 31, 121);
/* oklch */ color: oklch(45.6% 0.174 337.1);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8e1f79',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f79;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f79",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 311.351,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.456,
    "c": 0.17397,
    "h": 337.1
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#8E1F79
secondary
#4DBB62
accent
#E76041
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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