#8E1B47#8E1B47

#8E1B47 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.152 H 3.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8E1B47
RGBrgb(142, 27, 71)
HSLhsl(337, 68%, 33%)
HSVhsv(337, 81%, 56%)
CMYKcmyk(0%, 81%, 50%, 44.3%)
CIE-LABlab(31.79, 49.54, 3.66)
CIE-LCHlch(31.79, 49.68, 4.23°)
OKLaboklab(43.18% 0.1518 0.0099)
OKLCHoklch(43.18% 0.152 3.7)
XYZxyz(12.6857, 6.9913, 6.6415)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B47 #1B8E62
analogous
#8E1B80 #8E1B47 #8E281B
triadic
#8E1B47 #478E1B #1B478E
tetradic
#8E1B47 #808E1B #1B8E62 #281B8E
square
#8E1B47 #808E1B #1B8E62 #281B8E
split-complementary
#8E1B47 #1B8E28 #1B808E
monochromatic
#270714 #5B112D #8E1B47 #C12561 #DC4780

Accessibility & contrast

On white

8.76
#8E1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B47
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B47#FFFFFF#000000##FFFFFF
##8E1B471.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1b47;
/* rgb */ color: rgb(142, 27, 71);
/* oklch */ color: oklch(43.2% 0.152 3.7);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1b47',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b47;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b47",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 337.043,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.15214,
    "h": 3.7
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#8E1B47
secondary
#47BE90
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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