#8E2A4F#8E2A4F

#8E2A4F is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.138 H 1.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E2A4F
RGBrgb(142, 42, 79)
HSLhsl(338, 54%, 36%)
HSVhsv(338, 70%, 56%)
CMYKcmyk(0%, 70.4%, 44.4%, 44.3%)
CIE-LABlab(33.93, 45.00, 1.52)
CIE-LCHlch(33.93, 45.03, 1.94°)
OKLaboklab(44.84% 0.1377 0.0044)
OKLCHoklch(44.84% 0.138 1.8)
XYZxyz(13.3956, 7.9729, 8.2291)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A4F #2A8E69
analogous
#8E2A81 #8E2A4F #8E372A
triadic
#8E2A4F #4F8E2A #2A4F8E
tetradic
#8E2A4F #818E2A #2A8E69 #372A8E
square
#8E2A4F #818E2A #2A8E69 #372A8E
split-complementary
#8E2A4F #2A8E37 #2A818E
monochromatic
#300E1A #5F1C35 #8E2A4F #BD3869 #D1628B

Accessibility & contrast

On white

8.09
#8E2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A4F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A4F#FFFFFF#000000##FFFFFF
##8E2A4F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4350
Deuteranopia (green-blind)
#5A574D
Tritanopia (blue-blind)
#9A1C39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2a4f;
/* rgb */ color: rgb(142, 42, 79);
/* oklch */ color: oklch(44.8% 0.138 1.8);
Tailwind
colors: {
  custom: {
    50: '#b46b80',
    500: '#8e2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a4f;
$custom-light: #b46b80;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a4f",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 337.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.13781,
    "h": 1.8
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#8E2A4F
secondary
#5DB695
accent
#DEA74A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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