#8E2143#8E2143

#8E2143 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.145 H 7.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8E2143
RGBrgb(142, 33, 67)
HSLhsl(341, 62%, 34%)
HSVhsv(341, 77%, 56%)
CMYKcmyk(0%, 76.8%, 52.8%, 44.3%)
CIE-LABlab(32.36, 47.26, 7.11)
CIE-LCHlch(32.36, 47.79, 8.55°)
OKLaboklab(43.57% 0.1441 0.0184)
OKLCHoklch(43.57% 0.145 7.3)
XYZxyz(12.7134, 7.2455, 6.0382)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2143 #218E6C
analogous
#8E217A #8E2143 #8E3521
triadic
#8E2143 #438E21 #21438E
tetradic
#8E2143 #7A8E21 #218E6C #35218E
square
#8E2143 #7A8E21 #218E6C #35218E
split-complementary
#8E2143 #218E35 #217A8E
monochromatic
#2B0A14 #5C152C #8E2143 #C02D5A #D7527C

Accessibility & contrast

On white

8.58
#8E2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2143
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2143#FFFFFF#000000##FFFFFF
##8E21431.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E44
Deuteranopia (green-blind)
#595440
Tritanopia (blue-blind)
#9B042F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2143;
/* rgb */ color: rgb(142, 33, 67);
/* oklch */ color: oklch(43.6% 0.145 7.3);
Tailwind
colors: {
  custom: {
    50: '#b56776',
    500: '#8e2143',
    950: '#000000',
  },
}
SCSS
$custom: #8e2143;
$custom-light: #b56776;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2143",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 341.284,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.14523,
    "h": 7.3
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#8E2143
secondary
#50BA99
accent
#E5B342
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2143

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

Preview Lab → · Contrast checker → · Palette generator →

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