#8E1438#8E1438

#8E1438 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 11.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8E1438
RGBrgb(142, 20, 56)
HSLhsl(342, 75%, 32%)
HSVhsv(342, 86%, 56%)
CMYKcmyk(0%, 85.9%, 60.6%, 44.3%)
CIE-LABlab(30.73, 50.24, 12.13)
CIE-LCHlch(30.73, 51.68, 13.57°)
OKLaboklab(42.28% 0.152 0.0301)
OKLCHoklch(42.28% 0.155 11.2)
XYZxyz(12.1206, 6.5385, 4.3645)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1438 #148E6A
analogous
#8E1475 #8E1438 #8E2D14
triadic
#8E1438 #388E14 #14388E
tetradic
#8E1438 #758E14 #148E6A #2D148E
square
#8E1438 #758E14 #148E6A #2D148E
split-complementary
#8E1438 #148E2D #14758E
monochromatic
#23050E #580C23 #8E1438 #C41C4D #E3396B

Accessibility & contrast

On white

9.10
#8E1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1438
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1438#FFFFFF#000000##FFFFFF
##8E14381.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1438;
/* rgb */ color: rgb(142, 20, 56);
/* oklch */ color: oklch(42.3% 0.155 11.2);
Tailwind
colors: {
  custom: {
    50: '#b6626e',
    500: '#8e1438',
    950: '#000000',
  },
}
SCSS
$custom: #8e1438;
$custom-light: #b6626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1438",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 342.295,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.15496,
    "h": 11.2
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#8E1438
secondary
#3CC29A
accent
#F2BA36
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1438

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

Preview Lab → · Contrast checker → · Palette generator →

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