#8E1245#8E1245

#8E1245 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.159 H 3.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1245
RGBrgb(142, 18, 69)
HSLhsl(335, 78%, 31%)
HSVhsv(335, 87%, 56%)
CMYKcmyk(0%, 87.3%, 51.4%, 44.3%)
CIE-LABlab(30.91, 51.70, 3.73)
CIE-LCHlch(30.91, 51.83, 4.13°)
OKLaboklab(42.52% 0.1586 0.01)
OKLCHoklch(42.52% 0.159 3.6)
XYZxyz(12.4470, 6.6149, 6.2505)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1245 #128E5B
analogous
#8E1283 #8E1245 #8E1D12
triadic
#8E1245 #458E12 #12458E
tetradic
#8E1245 #838E12 #128E5B #1D128E
square
#8E1245 #838E12 #128E5B #1D128E
split-complementary
#8E1245 #128E1D #12838E
monochromatic
#210410 #580B2B #8E1245 #C4195F #E5357E

Accessibility & contrast

On white

9.04
#8E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1245
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1245#FFFFFF#000000##FFFFFF
##8E12451.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1245;
/* rgb */ color: rgb(142, 18, 69);
/* oklch */ color: oklch(42.5% 0.159 3.6);
Tailwind
colors: {
  custom: {
    50: '#b56278',
    500: '#8e1245',
    950: '#000000',
  },
}
SCSS
$custom: #8e1245;
$custom-light: #b56278;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1245",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 335.323,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.15892,
    "h": 3.6
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#8E1245
secondary
#3AC28A
accent
#F4A534
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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