#8E2247#8E2247

#8E2247 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.145 H 5.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2247
RGBrgb(142, 34, 71)
HSLhsl(339, 61%, 35%)
HSVhsv(339, 76%, 56%)
CMYKcmyk(0%, 76.1%, 50%, 44.3%)
CIE-LABlab(32.59, 47.27, 4.82)
CIE-LCHlch(32.59, 47.51, 5.82°)
OKLaboklab(43.77% 0.1445 0.0127)
OKLCHoklch(43.77% 0.145 5)
XYZxyz(12.8658, 7.3515, 6.7015)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2247 #228E69
analogous
#8E227D #8E2247 #8E3322
triadic
#8E2247 #478E22 #22478E
tetradic
#8E2247 #7D8E22 #228E69 #33228E
square
#8E2247 #7D8E22 #228E69 #33228E
split-complementary
#8E2247 #228E33 #227D8E
monochromatic
#2B0A16 #5D162E #8E2247 #BF2E60 #D65481

Accessibility & contrast

On white

8.50
#8E2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2247
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2247#FFFFFF#000000##FFFFFF
##8E22471.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#595444
Tritanopia (blue-blind)
#9B0A32
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2247;
/* rgb */ color: rgb(142, 34, 71);
/* oklch */ color: oklch(43.8% 0.145 5.0);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8e2247',
    950: '#000000',
  },
}
SCSS
$custom: #8e2247;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2247",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 339.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.14506,
    "h": 5
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#8E2247
secondary
#52BA96
accent
#E4AD43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E2247

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

Preview Lab → · Contrast checker → · Palette generator →

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