#8E1A38#8E1A38

#8E1A38 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 12.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1A38
RGBrgb(142, 26, 56)
HSLhsl(344, 69%, 33%)
HSVhsv(344, 82%, 56%)
CMYKcmyk(0%, 81.7%, 60.6%, 44.3%)
CIE-LABlab(31.29, 48.64, 12.89)
CIE-LCHlch(31.29, 50.32, 14.84°)
OKLaboklab(42.69% 0.1468 0.0319)
OKLCHoklch(42.69% 0.15 12.3)
XYZxyz(12.2398, 6.7769, 4.4042)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A38 #1A8E70
analogous
#8E1A72 #8E1A38 #8E361A
triadic
#8E1A38 #388E1A #1A388E
tetradic
#8E1A38 #728E1A #1A8E70 #361A8E
square
#8E1A38 #728E1A #1A8E70 #361A8E
split-complementary
#8E1A38 #1A8E36 #1A728E
monochromatic
#27070F #5A1124 #8E1A38 #C2234C #DD456D

Accessibility & contrast

On white

8.92
#8E1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A38
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A38#FFFFFF#000000##FFFFFF
##8E1A381.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a38;
/* rgb */ color: rgb(142, 26, 56);
/* oklch */ color: oklch(42.7% 0.150 12.3);
Tailwind
colors: {
  custom: {
    50: '#b6646e',
    500: '#8e1a38',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a38;
$custom-light: #b6646e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a38",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 344.483,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.15027,
    "h": 12.3
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#8E1A38
secondary
#45BE9F
accent
#ECBE3C
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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