#8E1B39#8E1B39

#8E1B39 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.149 H 11.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8E1B39
RGBrgb(142, 27, 57)
HSLhsl(344, 68%, 33%)
HSVhsv(344, 81%, 56%)
CMYKcmyk(0%, 81%, 59.9%, 44.3%)
CIE-LABlab(31.42, 48.42, 12.40)
CIE-LCHlch(31.42, 49.98, 14.36°)
OKLaboklab(42.79% 0.1463 0.0308)
OKLCHoklch(42.79% 0.15 11.9)
XYZxyz(12.2870, 6.8319, 4.5418)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B39 #1B8E70
analogous
#8E1B72 #8E1B39 #8E371B
triadic
#8E1B39 #398E1B #1B398E
tetradic
#8E1B39 #728E1B #1B8E70 #371B8E
square
#8E1B39 #728E1B #1B8E70 #371B8E
split-complementary
#8E1B39 #1B8E37 #1B728E
monochromatic
#270710 #5B1124 #8E1B39 #C1254E #DC476E

Accessibility & contrast

On white

8.88
#8E1B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B39
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B39#FFFFFF#000000##FFFFFF
##8E1B391.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B39
Deuteranopia (green-blind)
#595236
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b39;
/* rgb */ color: rgb(142, 27, 57);
/* oklch */ color: oklch(42.8% 0.149 11.9);
Tailwind
colors: {
  custom: {
    50: '#b6646f',
    500: '#8e1b39',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b39;
$custom-light: #b6646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b39",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 344.348,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.1495,
    "h": 11.9
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#8E1B39
secondary
#47BE9F
accent
#EBBE3D
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1B39

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

Preview Lab → · Contrast checker → · Palette generator →

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