#8E256F#8E256F

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

Color values

HEX#8E256F
RGBrgb(142, 37, 111)
HSLhsl(318, 59%, 35%)
HSVhsv(318, 74%, 56%)
CMYKcmyk(0%, 73.9%, 21.8%, 44.3%)
CIE-LABlab(34.44, 50.88, -18.24)
CIE-LCHlch(34.44, 54.05, 340.28°)
OKLaboklab(45.61% 0.1528 -0.0489)
OKLCHoklch(45.61% 0.16 342.2)
XYZxyz(14.6866, 8.2231, 15.8496)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E256F #258E44
analogous
#78258E #8E256F #8E253B
triadic
#8E256F #6F8E25 #256F8E
tetradic
#8E256F #8E7825 #258E44 #253B8E
square
#8E256F #8E7825 #258E44 #253B8E
split-complementary
#8E256F #3B8E25 #258E78
monochromatic
#2D0C23 #5D1849 #8E256F #BF3295 #D45AB0

Accessibility & contrast

On white

7.94
#8E256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E256F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E256F#FFFFFF#000000##FFFFFF
##8E256F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#972647
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e256f;
/* rgb */ color: rgb(142, 37, 111);
/* oklch */ color: oklch(45.6% 0.160 342.2);
Tailwind
colors: {
  custom: {
    50: '#b36a98',
    500: '#8e256f',
    950: '#000000',
  },
}
SCSS
$custom: #8e256f;
$custom-light: #b36a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e256f",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 317.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.1604,
    "h": 342.2
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#8E256F
secondary
#56B973
accent
#E27446
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E256F

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

Preview Lab → · Contrast checker → · Palette generator →

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