#8E274A#8E274A

#8E274A is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.140 H 4.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E274A
RGBrgb(142, 39, 74)
HSLhsl(340, 57%, 35%)
HSVhsv(340, 73%, 56%)
CMYKcmyk(0%, 72.5%, 47.9%, 44.3%)
CIE-LABlab(33.35, 45.70, 3.93)
CIE-LCHlch(33.35, 45.86, 4.92°)
OKLaboklab(44.36% 0.1397 0.0106)
OKLCHoklch(44.36% 0.14 4.3)
XYZxyz(13.1179, 7.6979, 7.2723)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E274A #278E6B
analogous
#8E277D #8E274A #8E3827
triadic
#8E274A #4A8E27 #274A8E
tetradic
#8E274A #7D8E27 #278E6B #38278E
square
#8E274A #7D8E27 #278E6B #38278E
split-complementary
#8E274A #278E38 #277D8E
monochromatic
#2E0D18 #5E1A31 #8E274A #BE3463 #D25D85

Accessibility & contrast

On white

8.27
#8E274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E274A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E274A#FFFFFF#000000##FFFFFF
##8E274A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#5A5648
Tritanopia (blue-blind)
#9B1635
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e274a;
/* rgb */ color: rgb(142, 39, 74);
/* oklch */ color: oklch(44.4% 0.140 4.3);
Tailwind
colors: {
  custom: {
    50: '#b46a7c',
    500: '#8e274a',
    950: '#000000',
  },
}
SCSS
$custom: #8e274a;
$custom-light: #b46a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e274a",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 339.612,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.14009,
    "h": 4.3
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#8E274A
secondary
#59B898
accent
#E0AC48
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E274A

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

Preview Lab → · Contrast checker → · Palette generator →

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