#8E2248#8E2248

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

Color values

HEX#8E2248
RGBrgb(142, 34, 72)
HSLhsl(339, 61%, 35%)
HSVhsv(339, 76%, 56%)
CMYKcmyk(0%, 76.1%, 49.3%, 44.3%)
CIE-LABlab(32.62, 47.36, 4.20)
CIE-LCHlch(32.62, 47.55, 5.07°)
OKLaboklab(43.8% 0.1449 0.0112)
OKLCHoklch(43.8% 0.145 4.4)
XYZxyz(12.8981, 7.3645, 6.8719)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2248 #228E68
analogous
#8E227E #8E2248 #8E3222
triadic
#8E2248 #488E22 #22488E
tetradic
#8E2248 #7E8E22 #228E68 #32228E
square
#8E2248 #7E8E22 #228E68 #32228E
split-complementary
#8E2248 #228E32 #227E8E
monochromatic
#2B0A16 #5D162F #8E2248 #BF2E61 #D65482

Accessibility & contrast

On white

8.49
#8E2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2248
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2248#FFFFFF#000000##FFFFFF
##8E22481.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#9B0B32
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2248;
/* rgb */ color: rgb(142, 34, 72);
/* oklch */ color: oklch(43.8% 0.145 4.4);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8e2248',
    950: '#000000',
  },
}
SCSS
$custom: #8e2248;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2248",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 338.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.14531,
    "h": 4.4
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#8E2248
secondary
#52BA95
accent
#E4AC43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E2248

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

Preview Lab → · Contrast checker → · Palette generator →

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