#8E256E#8E256E

#8E256E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.160 H 342.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E256E
RGBrgb(142, 37, 110)
HSLhsl(318, 59%, 35%)
HSVhsv(318, 74%, 56%)
CMYKcmyk(0%, 73.9%, 22.5%, 44.3%)
CIE-LABlab(34.40, 50.74, -17.67)
CIE-LCHlch(34.40, 53.73, 340.80°)
OKLaboklab(45.56% 0.1526 -0.0473)
OKLCHoklch(45.56% 0.16 342.8)
XYZxyz(14.6319, 8.2012, 15.5612)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E256E #258E45
analogous
#7A258E #8E256E #8E2539
triadic
#8E256E #6E8E25 #256E8E
tetradic
#8E256E #8E7A25 #258E45 #25398E
square
#8E256E #8E7A25 #258E45 #25398E
split-complementary
#8E256E #398E25 #258E7A
monochromatic
#2D0C23 #5D1848 #8E256E #BF3294 #D45AAF

Accessibility & contrast

On white

7.95
#8E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E256E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E256E#FFFFFF#000000##FFFFFF
##8E256E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#972646
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e256e;
/* rgb */ color: rgb(142, 37, 110);
/* oklch */ color: oklch(45.6% 0.160 342.8);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8e256e',
    950: '#000000',
  },
}
SCSS
$custom: #8e256e;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e256e",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 318.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.15974,
    "h": 342.8
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#8E256E
secondary
#56B974
accent
#E27546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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