#8E274F#8E274F

#8E274F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.142 H 1.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8E274F
RGBrgb(142, 39, 79)
HSLhsl(337, 57%, 35%)
HSVhsv(337, 73%, 56%)
CMYKcmyk(0%, 72.5%, 44.4%, 44.3%)
CIE-LABlab(33.49, 46.20, 0.89)
CIE-LCHlch(33.49, 46.21, 1.11°)
OKLaboklab(44.52% 0.1416 0.0028)
OKLCHoklch(44.52% 0.142 1.1)
XYZxyz(13.2931, 7.7680, 8.1950)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E274F #278E66
analogous
#8E2782 #8E274F #8E3227
triadic
#8E274F #4F8E27 #274F8E
tetradic
#8E274F #828E27 #278E66 #32278E
square
#8E274F #828E27 #278E66 #32278E
split-complementary
#8E274F #278E32 #27828E
monochromatic
#2E0D1A #5E1A34 #8E274F #BE346A #D25D8B

Accessibility & contrast

On white

8.22
#8E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E274F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E274F#FFFFFF#000000##FFFFFF
##8E274F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#59564D
Tritanopia (blue-blind)
#9A1838
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e274f;
/* rgb */ color: rgb(142, 39, 79);
/* oklch */ color: oklch(44.5% 0.142 1.1);
Tailwind
colors: {
  custom: {
    50: '#b46a80',
    500: '#8e274f',
    950: '#000000',
  },
}
SCSS
$custom: #8e274f;
$custom-light: #b46a80;
$custom-dark: #000000;
JSON
{
  "hex": "#8e274f",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 336.699,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.14158,
    "h": 1.1
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#8E274F
secondary
#59B893
accent
#E0A548
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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