#8E2045#8E2045

#8E2045 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 5.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8E2045
RGBrgb(142, 32, 69)
HSLhsl(340, 63%, 34%)
HSVhsv(340, 77%, 56%)
CMYKcmyk(0%, 77.5%, 51.4%, 44.3%)
CIE-LABlab(32.29, 47.78, 5.70)
CIE-LCHlch(32.29, 48.12, 6.80°)
OKLaboklab(43.53% 0.146 0.0149)
OKLCHoklch(43.53% 0.147 5.8)
XYZxyz(12.7471, 7.2152, 6.3505)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2045 #208E69
analogous
#8E207C #8E2045 #8E3220
triadic
#8E2045 #458E20 #20458E
tetradic
#8E2045 #7C8E20 #208E69 #32208E
square
#8E2045 #7C8E20 #208E69 #32208E
split-complementary
#8E2045 #208E32 #207C8E
monochromatic
#2A0914 #5C152D #8E2045 #C02B5D #D8517E

Accessibility & contrast

On white

8.60
#8E2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2045
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2045#FFFFFF#000000##FFFFFF
##8E20451.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#585442
Tritanopia (blue-blind)
#9B0330
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2045;
/* rgb */ color: rgb(142, 32, 69);
/* oklch */ color: oklch(43.5% 0.147 5.8);
Tailwind
colors: {
  custom: {
    50: '#b56678',
    500: '#8e2045',
    950: '#000000',
  },
}
SCSS
$custom: #8e2045;
$custom-light: #b56678;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2045",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 339.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.14671,
    "h": 5.8
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#8E2045
secondary
#4FBB97
accent
#E6AF42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2045

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

Preview Lab → · Contrast checker → · Palette generator →

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