#8E256A#8E256A

#8E256A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.157 H 344.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8E256A
RGBrgb(142, 37, 106)
HSLhsl(321, 59%, 35%)
HSVhsv(321, 74%, 56%)
CMYKcmyk(0%, 73.9%, 25.4%, 44.3%)
CIE-LABlab(34.22, 50.19, -15.40)
CIE-LCHlch(34.22, 52.50, 342.94°)
OKLaboklab(45.38% 0.1518 -0.041)
OKLCHoklch(45.38% 0.157 344.9)
XYZxyz(14.4190, 8.1160, 14.4401)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E256A #258E49
analogous
#7D258E #8E256A #8E2536
triadic
#8E256A #6A8E25 #256A8E
tetradic
#8E256A #8E7D25 #258E49 #25368E
square
#8E256A #8E7D25 #258E49 #25368E
split-complementary
#8E256A #368E25 #258E7D
monochromatic
#2D0C22 #5D1846 #8E256A #BF328E #D45AAA

Accessibility & contrast

On white

8.01
#8E256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E256A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E256A#FFFFFF#000000##FFFFFF
##8E256A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#982444
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e256a;
/* rgb */ color: rgb(142, 37, 106);
/* oklch */ color: oklch(45.4% 0.157 344.9);
Tailwind
colors: {
  custom: {
    50: '#b36a94',
    500: '#8e256a',
    950: '#000000',
  },
}
SCSS
$custom: #8e256a;
$custom-light: #b36a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e256a",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 320.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.1572,
    "h": 344.9
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#8E256A
secondary
#56B978
accent
#E27B46
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E256A

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

Preview Lab → · Contrast checker → · Palette generator →

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