#8E2147#8E2147

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

Color values

HEX#8E2147
RGBrgb(142, 33, 71)
HSLhsl(339, 62%, 34%)
HSVhsv(339, 77%, 56%)
CMYKcmyk(0%, 76.8%, 50%, 44.3%)
CIE-LABlab(32.47, 47.62, 4.64)
CIE-LCHlch(32.47, 47.84, 5.57°)
OKLaboklab(43.68% 0.1456 0.0123)
OKLCHoklch(43.68% 0.146 4.8)
XYZxyz(12.8376, 7.2952, 6.6921)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2147 #218E68
analogous
#8E217E #8E2147 #8E3221
triadic
#8E2147 #478E21 #21478E
tetradic
#8E2147 #7E8E21 #218E68 #32218E
square
#8E2147 #7E8E21 #218E68 #32218E
split-complementary
#8E2147 #218E32 #217E8E
monochromatic
#2B0A15 #5C152E #8E2147 #C02D60 #D75281

Accessibility & contrast

On white

8.54
#8E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2147
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2147#FFFFFF#000000##FFFFFF
##8E21471.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9B0731
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2147;
/* rgb */ color: rgb(142, 33, 71);
/* oklch */ color: oklch(43.7% 0.146 4.8);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8e2147',
    950: '#000000',
  },
}
SCSS
$custom: #8e2147;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2147",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 339.083,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.14614,
    "h": 4.8
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#8E2147
secondary
#50BA95
accent
#E5AD42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E2147

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

Preview Lab → · Contrast checker → · Palette generator →

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