#8E1F73#8E1F73

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

Color values

HEX#8E1F73
RGBrgb(142, 31, 115)
HSLhsl(315, 64%, 34%)
HSVhsv(315, 78%, 56%)
CMYKcmyk(0%, 78.2%, 19%, 44.3%)
CIE-LABlab(33.92, 53.46, -21.58)
CIE-LCHlch(33.92, 57.65, 338.02°)
OKLaboklab(45.29% 0.1595 -0.0583)
OKLCHoklch(45.29% 0.17 339.9)
XYZxyz(14.7402, 7.9700, 16.9784)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F73 #1F8E3A
analogous
#721F8E #8E1F73 #8E1F3B
triadic
#8E1F73 #738E1F #1F738E
tetradic
#8E1F73 #8E721F #1F8E3A #1F3B8E
square
#8E1F73 #8E721F #1F8E3A #1F3B8E
split-complementary
#8E1F73 #3B8E1F #1F8E72
monochromatic
#2A0922 #5C144A #8E1F73 #C02A9C #D94FB7

Accessibility & contrast

On white

8.10
#8E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F73
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F73#FFFFFF#000000##FFFFFF
##8E1F731.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#972347
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1f73;
/* rgb */ color: rgb(142, 31, 115);
/* oklch */ color: oklch(45.3% 0.170 339.9);
Tailwind
colors: {
  custom: {
    50: '#b3689b',
    500: '#8e1f73',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f73;
$custom-light: #b3689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f73",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 314.595,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.16985,
    "h": 339.9
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#8E1F73
secondary
#4DBB68
accent
#E76941
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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