#8E1F64#8E1F64

#8E1F64 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 347.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8E1F64
RGBrgb(142, 31, 100)
HSLhsl(323, 64%, 34%)
HSVhsv(323, 78%, 56%)
CMYKcmyk(0%, 78.2%, 29.6%, 44.3%)
CIE-LABlab(33.25, 51.44, -13.06)
CIE-LCHlch(33.25, 53.07, 345.76°)
OKLaboklab(44.58% 0.1568 -0.0344)
OKLCHoklch(44.58% 0.161 347.6)
XYZxyz(13.9463, 7.6524, 12.7968)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F64 #1F8E49
analogous
#811F8E #8E1F64 #8E1F2C
triadic
#8E1F64 #648E1F #1F648E
tetradic
#8E1F64 #8E811F #1F8E49 #1F2C8E
square
#8E1F64 #8E811F #1F8E49 #1F2C8E
split-complementary
#8E1F64 #2C8E1F #1F8E81
monochromatic
#2A091D #5C1441 #8E1F64 #C02A87 #D94FA4

Accessibility & contrast

On white

8.30
#8E1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F64
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F64#FFFFFF#000000##FFFFFF
##8E1F641.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304266
Deuteranopia (green-blind)
#515562
Tritanopia (blue-blind)
#981A3F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f64;
/* rgb */ color: rgb(142, 31, 100);
/* oklch */ color: oklch(44.6% 0.161 347.6);
Tailwind
colors: {
  custom: {
    50: '#b36790',
    500: '#8e1f64',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f64;
$custom-light: #b36790;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f64",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 322.703,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44584,
    "c": 0.16051,
    "h": 347.6
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#8E1F64
secondary
#4DBB77
accent
#E78041
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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