#8E255F#8E255F

#8E255F is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.151 H 351.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8E255F
RGBrgb(142, 37, 95)
HSLhsl(327, 59%, 35%)
HSVhsv(327, 74%, 56%)
CMYKcmyk(0%, 73.9%, 33.1%, 44.3%)
CIE-LABlab(33.78, 48.76, -9.04)
CIE-LCHlch(33.78, 49.60, 349.50°)
OKLaboklab(44.9% 0.1491 -0.0234)
OKLCHoklch(44.9% 0.151 351.1)
XYZxyz(13.8832, 7.9017, 11.6183)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E255F #258E54
analogous
#88258E #8E255F #8E252B
triadic
#8E255F #5F8E25 #255F8E
tetradic
#8E255F #8E8825 #258E54 #252B8E
square
#8E255F #8E8825 #258E54 #252B8E
split-complementary
#8E255F #2B8E25 #258E88
monochromatic
#2D0C1E #5D183F #8E255F #BF327F #D45A9D

Accessibility & contrast

On white

8.14
#8E255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E255F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E255F#FFFFFF#000000##FFFFFF
##8E255F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#54565D
Tritanopia (blue-blind)
#991E3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e255f;
/* rgb */ color: rgb(142, 37, 95);
/* oklch */ color: oklch(44.9% 0.151 351.1);
Tailwind
colors: {
  custom: {
    50: '#b3698c',
    500: '#8e255f',
    950: '#000000',
  },
}
SCSS
$custom: #8e255f;
$custom-light: #b3698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e255f",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 326.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.1509,
    "h": 351.1
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#8E255F
secondary
#56B982
accent
#E28C46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E255F

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

Preview Lab → · Contrast checker → · Palette generator →

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