#8E124A#8E124A

#8E124A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.160 H 0.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E124A
RGBrgb(142, 18, 74)
HSLhsl(333, 78%, 31%)
HSVhsv(333, 87%, 56%)
CMYKcmyk(0%, 87.3%, 47.9%, 44.3%)
CIE-LABlab(31.07, 52.13, 0.64)
CIE-LCHlch(31.07, 52.14, 0.70°)
OKLaboklab(42.68% 0.1604 0.0022)
OKLCHoklch(42.68% 0.16 0.8)
XYZxyz(12.6087, 6.6796, 7.1026)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E124A #128E56
analogous
#8E1288 #8E124A #8E1812
triadic
#8E124A #4A8E12 #124A8E
tetradic
#8E124A #888E12 #128E56 #18128E
square
#8E124A #888E12 #128E56 #18128E
split-complementary
#8E124A #128E18 #12888E
monochromatic
#210411 #580B2E #8E124A #C41966 #E53585

Accessibility & contrast

On white

8.99
#8E124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E124A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E124A#FFFFFF#000000##FFFFFF
##8E124A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e124a;
/* rgb */ color: rgb(142, 18, 74);
/* oklch */ color: oklch(42.7% 0.160 0.8);
Tailwind
colors: {
  custom: {
    50: '#b5627c',
    500: '#8e124a',
    950: '#000000',
  },
}
SCSS
$custom: #8e124a;
$custom-light: #b5627c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e124a",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 332.903,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.16042,
    "h": 0.8
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#8E124A
secondary
#3AC285
accent
#F49D34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E124A

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

Preview Lab → · Contrast checker → · Palette generator →

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