#8E1F65#8E1F65

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

Color values

HEX#8E1F65
RGBrgb(142, 31, 101)
HSLhsl(322, 64%, 34%)
HSVhsv(322, 78%, 56%)
CMYKcmyk(0%, 78.2%, 28.9%, 44.3%)
CIE-LABlab(33.29, 51.57, -13.63)
CIE-LCHlch(33.29, 53.34, 345.19°)
OKLaboklab(44.63% 0.157 -0.036)
OKLCHoklch(44.63% 0.161 347.1)
XYZxyz(13.9950, 7.6719, 13.0532)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F65 #1F8E48
analogous
#801F8E #8E1F65 #8E1F2E
triadic
#8E1F65 #658E1F #1F658E
tetradic
#8E1F65 #8E801F #1F8E48 #1F2E8E
square
#8E1F65 #8E801F #1F8E48 #1F2E8E
split-complementary
#8E1F65 #2E8E1F #1F8E80
monochromatic
#2A091E #5C1441 #8E1F65 #C02A89 #D94FA6

Accessibility & contrast

On white

8.29
#8E1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F65
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F65#FFFFFF#000000##FFFFFF
##8E1F651.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#515563
Tritanopia (blue-blind)
#981B3F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f65;
/* rgb */ color: rgb(142, 31, 101);
/* oklch */ color: oklch(44.6% 0.161 347.1);
Tailwind
colors: {
  custom: {
    50: '#b36791',
    500: '#8e1f65',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f65;
$custom-light: #b36791;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f65",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 322.162,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.16109,
    "h": 347.1
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#8E1F65
secondary
#4DBB76
accent
#E77E41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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