#8E2148#8E2148

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

Color values

HEX#8E2148
RGBrgb(142, 33, 72)
HSLhsl(339, 62%, 34%)
HSVhsv(339, 77%, 56%)
CMYKcmyk(0%, 76.8%, 49.3%, 44.3%)
CIE-LABlab(32.50, 47.71, 4.03)
CIE-LCHlch(32.50, 47.88, 4.82°)
OKLaboklab(43.71% 0.146 0.0108)
OKLCHoklch(43.71% 0.146 4.2)
XYZxyz(12.8700, 7.3081, 6.8625)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2148 #218E67
analogous
#8E217F #8E2148 #8E3121
triadic
#8E2148 #488E21 #21488E
tetradic
#8E2148 #7F8E21 #218E67 #31218E
square
#8E2148 #7F8E21 #218E67 #31218E
split-complementary
#8E2148 #218E31 #217F8E
monochromatic
#2B0A16 #5C152F #8E2148 #C02D61 #D75282

Accessibility & contrast

On white

8.53
#8E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2148
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2148#FFFFFF#000000##FFFFFF
##8E21481.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#9B0832
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2148;
/* rgb */ color: rgb(142, 33, 72);
/* oklch */ color: oklch(43.7% 0.146 4.2);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8e2148',
    950: '#000000',
  },
}
SCSS
$custom: #8e2148;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2148",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 338.532,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.1464,
    "h": 4.2
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#8E2148
secondary
#50BA94
accent
#E5AB42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E2148

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

Preview Lab → · Contrast checker → · Palette generator →

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