#8E2146#8E2146

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

Color values

HEX#8E2146
RGBrgb(142, 33, 70)
HSLhsl(340, 62%, 34%)
HSVhsv(340, 77%, 56%)
CMYKcmyk(0%, 76.8%, 50.7%, 44.3%)
CIE-LABlab(32.44, 47.53, 5.26)
CIE-LCHlch(32.44, 47.82, 6.31°)
OKLaboklab(43.65% 0.1452 0.0138)
OKLCHoklch(43.65% 0.146 5.4)
XYZxyz(12.8058, 7.2824, 6.5245)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2146 #218E69
analogous
#8E217D #8E2146 #8E3321
triadic
#8E2146 #468E21 #21468E
tetradic
#8E2146 #7D8E21 #218E69 #33218E
square
#8E2146 #7D8E21 #218E69 #33218E
split-complementary
#8E2146 #218E33 #217D8E
monochromatic
#2B0A15 #5C152E #8E2146 #C02D5E #D7527F

Accessibility & contrast

On white

8.55
#8E2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2146
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2146#FFFFFF#000000##FFFFFF
##8E21461.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2146;
/* rgb */ color: rgb(142, 33, 70);
/* oklch */ color: oklch(43.7% 0.146 5.4);
Tailwind
colors: {
  custom: {
    50: '#b46779',
    500: '#8e2146',
    950: '#000000',
  },
}
SCSS
$custom: #8e2146;
$custom-light: #b46779;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2146",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 339.633,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43652,
    "c": 0.14589,
    "h": 5.4
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#8E2146
secondary
#50BA96
accent
#E5AE42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E2146

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

Preview Lab → · Contrast checker → · Palette generator →

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