#8E274B#8E274B

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

Color values

HEX#8E274B
RGBrgb(142, 39, 75)
HSLhsl(339, 57%, 35%)
HSVhsv(339, 73%, 56%)
CMYKcmyk(0%, 72.5%, 47.2%, 44.3%)
CIE-LABlab(33.37, 45.79, 3.32)
CIE-LCHlch(33.37, 45.91, 4.15°)
OKLaboklab(44.39% 0.1401 0.009)
OKLCHoklch(44.39% 0.14 3.7)
XYZxyz(13.1519, 7.7115, 7.4511)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E274B #278E6A
analogous
#8E277E #8E274B #8E3627
triadic
#8E274B #4B8E27 #274B8E
tetradic
#8E274B #7E8E27 #278E6A #36278E
square
#8E274B #7E8E27 #278E6A #36278E
split-complementary
#8E274B #278E36 #277E8E
monochromatic
#2E0D18 #5E1A32 #8E274B #BE3464 #D25D86

Accessibility & contrast

On white

8.26
#8E274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E274B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E274B#FFFFFF#000000##FFFFFF
##8E274B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#595649
Tritanopia (blue-blind)
#9B1636
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e274b;
/* rgb */ color: rgb(142, 39, 75);
/* oklch */ color: oklch(44.4% 0.140 3.7);
Tailwind
colors: {
  custom: {
    50: '#b46a7d',
    500: '#8e274b',
    950: '#000000',
  },
}
SCSS
$custom: #8e274b;
$custom-light: #b46a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e274b",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 339.029,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.14036,
    "h": 3.7
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#8E274B
secondary
#59B897
accent
#E0AB48
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E274B

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

Preview Lab → · Contrast checker → · Palette generator →

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