#8E2A55#8E2A55

#8E2A55 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.140 H 358.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E2A55
RGBrgb(142, 42, 85)
HSLhsl(334, 54%, 36%)
HSVhsv(334, 70%, 56%)
CMYKcmyk(0%, 70.4%, 40.1%, 44.3%)
CIE-LABlab(34.12, 45.65, -2.09)
CIE-LCHlch(34.12, 45.70, 357.38°)
OKLaboklab(45.04% 0.1399 -0.0049)
OKLCHoklch(45.04% 0.14 358)
XYZxyz(13.6239, 8.0642, 9.4317)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A55 #2A8E63
analogous
#8E2A87 #8E2A55 #8E312A
triadic
#8E2A55 #558E2A #2A558E
tetradic
#8E2A55 #878E2A #2A8E63 #312A8E
square
#8E2A55 #878E2A #2A8E63 #312A8E
split-complementary
#8E2A55 #2A8E31 #2A878E
monochromatic
#300E1C #5F1C39 #8E2A55 #BD3871 #D16291

Accessibility & contrast

On white

8.04
#8E2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E2A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A55
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A55#FFFFFF#000000##FFFFFF
##8E2A551.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#585753
Tritanopia (blue-blind)
#9A1F3C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2a55;
/* rgb */ color: rgb(142, 42, 85);
/* oklch */ color: oklch(45.0% 0.140 358.0);
Tailwind
colors: {
  custom: {
    50: '#b36b84',
    500: '#8e2a55',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a55;
$custom-light: #b36b84;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a55",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 334.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.13996,
    "h": 358
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#8E2A55
secondary
#5DB690
accent
#DE9E4A
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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