#8E1E6F#8E1E6F

#8E1E6F is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.168 H 341.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E1E6F
RGBrgb(142, 30, 111)
HSLhsl(317, 65%, 34%)
HSVhsv(317, 79%, 56%)
CMYKcmyk(0%, 78.9%, 21.8%, 44.3%)
CIE-LABlab(33.62, 53.21, -19.51)
CIE-LCHlch(33.62, 56.67, 339.87°)
OKLaboklab(45.01% 0.1599 -0.0524)
OKLCHoklch(45.01% 0.168 341.8)
XYZxyz(14.4893, 7.8285, 15.7838)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E6F #1E8E3D
analogous
#751E8E #8E1E6F #8E1E37
triadic
#8E1E6F #6F8E1E #1E6F8E
tetradic
#8E1E6F #8E751E #1E8E3D #1E378E
square
#8E1E6F #8E751E #1E8E3D #1E378E
split-complementary
#8E1E6F #378E1E #1E8E75
monochromatic
#290920 #5B1348 #8E1E6F #C12996 #D94DB3

Accessibility & contrast

On white

8.19
#8E1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E6F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E6F#FFFFFF#000000##FFFFFF
##8E1E6F1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#4D566C
Tritanopia (blue-blind)
#972044
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1e6f;
/* rgb */ color: rgb(142, 30, 111);
/* oklch */ color: oklch(45.0% 0.168 341.8);
Tailwind
colors: {
  custom: {
    50: '#b36798',
    500: '#8e1e6f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e6f;
$custom-light: #b36798;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e6f",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 316.607,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.16826,
    "h": 341.8
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#8E1E6F
secondary
#4CBC6B
accent
#E86E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E1E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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