#8E256D#8E256D

#8E256D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 343.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8E256D
RGBrgb(142, 37, 109)
HSLhsl(319, 59%, 35%)
HSVhsv(319, 74%, 56%)
CMYKcmyk(0%, 73.9%, 23.2%, 44.3%)
CIE-LABlab(34.35, 50.60, -17.11)
CIE-LCHlch(34.35, 53.41, 341.32°)
OKLaboklab(45.51% 0.1524 -0.0457)
OKLCHoklch(45.51% 0.159 343.3)
XYZxyz(14.5777, 8.1795, 15.2761)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E256D #258E46
analogous
#7A258E #8E256D #8E2539
triadic
#8E256D #6D8E25 #256D8E
tetradic
#8E256D #8E7A25 #258E46 #25398E
square
#8E256D #8E7A25 #258E46 #25398E
split-complementary
#8E256D #398E25 #258E7A
monochromatic
#2D0C22 #5D1848 #8E256D #BF3292 #D45AAD

Accessibility & contrast

On white

7.97
#8E256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E256D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E256D#FFFFFF#000000##FFFFFF
##8E256D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#972546
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e256d;
/* rgb */ color: rgb(142, 37, 109);
/* oklch */ color: oklch(45.5% 0.159 343.3);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8e256d',
    950: '#000000',
  },
}
SCSS
$custom: #8e256d;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e256d",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 318.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.1591,
    "h": 343.3
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#8E256D
secondary
#56B975
accent
#E27746
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E256D

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

Preview Lab → · Contrast checker → · Palette generator →

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