#8E256B#8E256B

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

Color values

HEX#8E256B
RGBrgb(142, 37, 107)
HSLhsl(320, 59%, 35%)
HSVhsv(320, 74%, 56%)
CMYKcmyk(0%, 73.9%, 24.6%, 44.3%)
CIE-LABlab(34.27, 50.32, -15.97)
CIE-LCHlch(34.27, 52.80, 342.39°)
OKLaboklab(45.42% 0.152 -0.0426)
OKLCHoklch(45.42% 0.158 344.4)
XYZxyz(14.4713, 8.1370, 14.7155)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E256B #258E48
analogous
#7C258E #8E256B #8E2537
triadic
#8E256B #6B8E25 #256B8E
tetradic
#8E256B #8E7C25 #258E48 #25378E
square
#8E256B #8E7C25 #258E48 #25378E
split-complementary
#8E256B #378E25 #258E7C
monochromatic
#2D0C22 #5D1846 #8E256B #BF3290 #D45AAB

Accessibility & contrast

On white

7.99
#8E256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E256B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E256B#FFFFFF#000000##FFFFFF
##8E256B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e256b;
/* rgb */ color: rgb(142, 37, 107);
/* oklch */ color: oklch(45.4% 0.158 344.4);
Tailwind
colors: {
  custom: {
    50: '#b36a95',
    500: '#8e256b',
    950: '#000000',
  },
}
SCSS
$custom: #8e256b;
$custom-light: #b36a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e256b",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 320,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.15783,
    "h": 344.4
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#8E256B
secondary
#56B977
accent
#E27A46
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E256B

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

Preview Lab → · Contrast checker → · Palette generator →

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