#8E1F4D#8E1F4D

#8E1F4D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.150 H 0.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8E1F4D
RGBrgb(142, 31, 77)
HSLhsl(335, 64%, 34%)
HSVhsv(335, 78%, 56%)
CMYKcmyk(0%, 78.2%, 45.8%, 44.3%)
CIE-LABlab(32.41, 48.86, 0.62)
CIE-LCHlch(32.41, 48.86, 0.73°)
OKLaboklab(43.7% 0.15 0.0022)
OKLCHoklch(43.7% 0.15 0.8)
XYZxyz(12.9859, 7.2683, 7.7388)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F4D #1F8E60
analogous
#8E1F85 #8E1F4D #8E291F
triadic
#8E1F4D #4D8E1F #1F4D8E
tetradic
#8E1F4D #858E1F #1F8E60 #291F8E
square
#8E1F4D #858E1F #1F8E60 #291F8E
split-complementary
#8E1F4D #1F8E29 #1F858E
monochromatic
#2A0917 #5C1432 #8E1F4D #C02A68 #D94F88

Accessibility & contrast

On white

8.56
#8E1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E1F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F4D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F4D#FFFFFF#000000##FFFFFF
##8E1F4D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4E
Deuteranopia (green-blind)
#57544A
Tritanopia (blue-blind)
#9A0833
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f4d;
/* rgb */ color: rgb(142, 31, 77);
/* oklch */ color: oklch(43.7% 0.150 0.8);
Tailwind
colors: {
  custom: {
    50: '#b4667e',
    500: '#8e1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f4d;
$custom-light: #b4667e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f4d",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 335.135,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43697,
    "c": 0.15001,
    "h": 0.8
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#8E1F4D
secondary
#4DBB8E
accent
#E7A241
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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