#8E2145#8E2145

#8E2145 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.146 H 6.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2145
RGBrgb(142, 33, 69)
HSLhsl(340, 62%, 34%)
HSVhsv(340, 77%, 56%)
CMYKcmyk(0%, 76.8%, 51.4%, 44.3%)
CIE-LABlab(32.41, 47.44, 5.87)
CIE-LCHlch(32.41, 47.80, 7.06°)
OKLaboklab(43.62% 0.1449 0.0154)
OKLCHoklch(43.62% 0.146 6.1)
XYZxyz(12.7745, 7.2699, 6.3596)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2145 #218E6A
analogous
#8E217C #8E2145 #8E3321
triadic
#8E2145 #458E21 #21458E
tetradic
#8E2145 #7C8E21 #218E6A #33218E
square
#8E2145 #7C8E21 #218E6A #33218E
split-complementary
#8E2145 #218E33 #217C8E
monochromatic
#2B0A15 #5C152D #8E2145 #C02D5D #D7527E

Accessibility & contrast

On white

8.56
#8E2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2145
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2145#FFFFFF#000000##FFFFFF
##8E21451.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E46
Deuteranopia (green-blind)
#595442
Tritanopia (blue-blind)
#9B0630
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2145;
/* rgb */ color: rgb(142, 33, 69);
/* oklch */ color: oklch(43.6% 0.146 6.1);
Tailwind
colors: {
  custom: {
    50: '#b46778',
    500: '#8e2145',
    950: '#000000',
  },
}
SCSS
$custom: #8e2145;
$custom-light: #b46778;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2145",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 340.183,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.14566,
    "h": 6.1
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#8E2145
secondary
#50BA97
accent
#E5B042
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2145

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

Preview Lab → · Contrast checker → · Palette generator →

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