#8E276F#8E276F

#8E276F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 342.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8E276F
RGBrgb(142, 39, 111)
HSLhsl(318, 57%, 35%)
HSVhsv(318, 73%, 56%)
CMYKcmyk(0%, 72.5%, 21.8%, 44.3%)
CIE-LABlab(34.70, 50.15, -17.84)
CIE-LCHlch(34.70, 53.22, 340.42°)
OKLaboklab(45.8% 0.1505 -0.0478)
OKLCHoklch(45.8% 0.158 342.4)
XYZxyz(14.7506, 8.3510, 15.8709)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276F #278E46
analogous
#79278E #8E276F #8E273C
triadic
#8E276F #6F8E27 #276F8E
tetradic
#8E276F #8E7927 #278E46 #273C8E
square
#8E276F #8E7927 #278E46 #273C8E
split-complementary
#8E276F #3C8E27 #278E79
monochromatic
#2E0D24 #5E1A49 #8E276F #BE3495 #D25DAF

Accessibility & contrast

On white

7.87
#8E276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E276F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276F#FFFFFF#000000##FFFFFF
##8E276F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304771
Deuteranopia (green-blind)
#50586D
Tritanopia (blue-blind)
#972847
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e276f;
/* rgb */ color: rgb(142, 39, 111);
/* oklch */ color: oklch(45.8% 0.158 342.4);
Tailwind
colors: {
  custom: {
    50: '#b36b98',
    500: '#8e276f',
    950: '#000000',
  },
}
SCSS
$custom: #8e276f;
$custom-light: #b36b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276f",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 318.058,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.15793,
    "h": 342.4
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#8E276F
secondary
#59B876
accent
#E07648
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E276F

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

Preview Lab → · Contrast checker → · Palette generator →

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