#8E1B42#8E1B42

#8E1B42 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.151 H 6.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8E1B42
RGBrgb(142, 27, 66)
HSLhsl(340, 68%, 33%)
HSVhsv(340, 81%, 56%)
CMYKcmyk(0%, 81%, 53.5%, 44.3%)
CIE-LABlab(31.65, 49.11, 6.76)
CIE-LCHlch(31.65, 49.58, 7.84°)
OKLaboklab(43.03% 0.1499 0.0175)
OKLCHoklch(43.03% 0.151 6.7)
XYZxyz(12.5318, 6.9298, 5.8309)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B42 #1B8E67
analogous
#8E1B7B #8E1B42 #8E2D1B
triadic
#8E1B42 #428E1B #1B428E
tetradic
#8E1B42 #7B8E1B #1B8E67 #2D1B8E
square
#8E1B42 #7B8E1B #1B8E67 #2D1B8E
split-complementary
#8E1B42 #1B8E2D #1B7B8E
monochromatic
#270712 #5B112A #8E1B42 #C1255A #DC477A

Accessibility & contrast

On white

8.80
#8E1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B42
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B42#FFFFFF#000000##FFFFFF
##8E1B421.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#57533F
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b42;
/* rgb */ color: rgb(142, 27, 66);
/* oklch */ color: oklch(43.0% 0.151 6.7);
Tailwind
colors: {
  custom: {
    50: '#b56476',
    500: '#8e1b42',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b42;
$custom-light: #b56476;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b42",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 339.652,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.15093,
    "h": 6.7
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#8E1B42
secondary
#47BE95
accent
#EBB03D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B42

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

Preview Lab → · Contrast checker → · Palette generator →

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