#8E1B4E#8E1B4E

#8E1B4E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.154 H 359.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8E1B4E
RGBrgb(142, 27, 78)
HSLhsl(333, 68%, 33%)
HSVhsv(333, 81%, 56%)
CMYKcmyk(0%, 81%, 45.1%, 44.3%)
CIE-LABlab(32.00, 50.20, -0.63)
CIE-LCHlch(32.00, 50.20, 359.28°)
OKLaboklab(43.41% 0.1543 -0.0011)
OKLCHoklch(43.41% 0.154 359.6)
XYZxyz(12.9234, 7.0864, 7.8935)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B4E #1B8E5B
analogous
#8E1B87 #8E1B4E #8E211B
triadic
#8E1B4E #4E8E1B #1B4E8E
tetradic
#8E1B4E #878E1B #1B8E5B #211B8E
square
#8E1B4E #878E1B #1B8E5B #211B8E
split-complementary
#8E1B4E #1B8E21 #1B878E
monochromatic
#270716 #5B1132 #8E1B4E #C1256A #DC4789

Accessibility & contrast

On white

8.69
#8E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B4E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B4E#FFFFFF#000000##FFFFFF
##8E1B4E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#9A0132
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1b4e;
/* rgb */ color: rgb(142, 27, 78);
/* oklch */ color: oklch(43.4% 0.154 359.6);
Tailwind
colors: {
  custom: {
    50: '#b4657f',
    500: '#8e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b4e;
$custom-light: #b4657f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b4e",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 333.391,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.15433,
    "h": 359.6
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#8E1B4E
secondary
#47BE89
accent
#EB9E3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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