#8E276B#8E276B

#8E276B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 344.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E276B
RGBrgb(142, 39, 107)
HSLhsl(320, 57%, 35%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 72.5%, 24.6%, 44.3%)
CIE-LABlab(34.53, 49.59, -15.57)
CIE-LCHlch(34.53, 51.97, 342.57°)
OKLaboklab(45.61% 0.1497 -0.0415)
OKLCHoklch(45.61% 0.155 344.5)
XYZxyz(14.5352, 8.2649, 14.7369)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276B #278E4A
analogous
#7D278E #8E276B #8E2738
triadic
#8E276B #6B8E27 #276B8E
tetradic
#8E276B #8E7D27 #278E4A #27388E
square
#8E276B #8E7D27 #278E4A #27388E
split-complementary
#8E276B #388E27 #278E7D
monochromatic
#2E0D23 #5E1A47 #8E276B #BE348F #D25DAB

Accessibility & contrast

On white

7.92
#8E276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E276B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276B#FFFFFF#000000##FFFFFF
##8E276B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e276b;
/* rgb */ color: rgb(142, 39, 107);
/* oklch */ color: oklch(45.6% 0.155 344.5);
Tailwind
colors: {
  custom: {
    50: '#b36b95',
    500: '#8e276b',
    950: '#000000',
  },
}
SCSS
$custom: #8e276b;
$custom-light: #b36b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276b",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 320.388,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.15534,
    "h": 344.5
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#8E276B
secondary
#59B879
accent
#E07B48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E276B

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

Preview Lab → · Contrast checker → · Palette generator →

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