#8E1F75#8E1F75

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

Color values

HEX#8E1F75
RGBrgb(142, 31, 117)
HSLhsl(314, 64%, 34%)
HSVhsv(314, 78%, 56%)
CMYKcmyk(0%, 78.2%, 17.6%, 44.3%)
CIE-LABlab(34.02, 53.75, -22.69)
CIE-LCHlch(34.02, 58.34, 337.11°)
OKLaboklab(45.39% 0.1598 -0.0615)
OKLCHoklch(45.39% 0.171 339)
XYZxyz(14.8566, 8.0166, 17.5911)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F75 #1F8E38
analogous
#701F8E #8E1F75 #8E1F3D
triadic
#8E1F75 #758E1F #1F758E
tetradic
#8E1F75 #8E701F #1F8E38 #1F3D8E
square
#8E1F75 #8E701F #1F8E38 #1F3D8E
split-complementary
#8E1F75 #3D8E1F #1F8E70
monochromatic
#2A0922 #5C144C #8E1F75 #C02A9E #D94FBA

Accessibility & contrast

On white

8.07
#8E1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F75
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F75#FFFFFF#000000##FFFFFF
##8E1F751.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#4B5672
Tritanopia (blue-blind)
#962448
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1f75;
/* rgb */ color: rgb(142, 31, 117);
/* oklch */ color: oklch(45.4% 0.171 339.0);
Tailwind
colors: {
  custom: {
    50: '#b3689d',
    500: '#8e1f75',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f75;
$custom-light: #b3689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f75",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 313.514,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.1712,
    "h": 339
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#8E1F75
secondary
#4DBB66
accent
#E76641
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1F75

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

Preview Lab → · Contrast checker → · Palette generator →

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