#8E1F5F#8E1F5F

#8E1F5F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 350.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8E1F5F
RGBrgb(142, 31, 95)
HSLhsl(325, 64%, 34%)
HSVhsv(325, 78%, 56%)
CMYKcmyk(0%, 78.2%, 33.1%, 44.3%)
CIE-LABlab(33.05, 50.83, -10.14)
CIE-LCHlch(33.05, 51.83, 348.71°)
OKLaboklab(44.37% 0.1556 -0.0264)
OKLCHoklch(44.37% 0.158 350.4)
XYZxyz(13.7117, 7.5586, 11.5611)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5F #1F8E4E
analogous
#861F8E #8E1F5F #8E1F28
triadic
#8E1F5F #5F8E1F #1F5F8E
tetradic
#8E1F5F #8E861F #1F8E4E #1F288E
square
#8E1F5F #8E861F #1F8E4E #1F288E
split-complementary
#8E1F5F #288E1F #1F8E86
monochromatic
#2A091C #5C143D #8E1F5F #C02A81 #D94F9E

Accessibility & contrast

On white

8.36
#8E1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F5F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5F#FFFFFF#000000##FFFFFF
##8E1F5F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#52555D
Tritanopia (blue-blind)
#99173C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f5f;
/* rgb */ color: rgb(142, 31, 95);
/* oklch */ color: oklch(44.4% 0.158 350.4);
Tailwind
colors: {
  custom: {
    50: '#b3678c',
    500: '#8e1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5f;
$custom-light: #b3678c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5f",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 325.405,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.15779,
    "h": 350.4
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#8E1F5F
secondary
#4DBB7C
accent
#E78741
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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