#8E1A48#8E1A48

#8E1A48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.153 H 3.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8E1A48
RGBrgb(142, 26, 72)
HSLhsl(336, 69%, 33%)
HSVhsv(336, 82%, 56%)
CMYKcmyk(0%, 81.7%, 49.3%, 44.3%)
CIE-LABlab(31.71, 49.92, 2.90)
CIE-LCHlch(31.71, 50.01, 3.32°)
OKLaboklab(43.14% 0.1531 0.0079)
OKLCHoklch(43.14% 0.153 3)
XYZxyz(12.6955, 6.9592, 6.8044)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A48 #1A8E60
analogous
#8E1A82 #8E1A48 #8E261A
triadic
#8E1A48 #488E1A #1A488E
tetradic
#8E1A48 #828E1A #1A8E60 #261A8E
square
#8E1A48 #828E1A #1A8E60 #261A8E
split-complementary
#8E1A48 #1A8E26 #1A828E
monochromatic
#270714 #5A112E #8E1A48 #C22362 #DD4582

Accessibility & contrast

On white

8.78
#8E1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A48
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A48#FFFFFF#000000##FFFFFF
##8E1A481.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a48;
/* rgb */ color: rgb(142, 26, 72);
/* oklch */ color: oklch(43.1% 0.153 3.0);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1a48',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a48;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a48",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 336.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.15334,
    "h": 3
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#8E1A48
secondary
#45BE8E
accent
#ECA63C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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