#8E255B#8E255B

#8E255B is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.149 H 353.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8E255B
RGBrgb(142, 37, 91)
HSLhsl(329, 59%, 35%)
HSVhsv(329, 74%, 56%)
CMYKcmyk(0%, 73.9%, 35.9%, 44.3%)
CIE-LABlab(33.63, 48.28, -6.69)
CIE-LCHlch(33.63, 48.74, 352.12°)
OKLaboklab(44.75% 0.1479 -0.0171)
OKLCHoklch(44.75% 0.149 353.4)
XYZxyz(13.7061, 7.8309, 10.6852)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E255B #258E58
analogous
#8C258E #8E255B #8E2526
triadic
#8E255B #5B8E25 #255B8E
tetradic
#8E255B #8E8C25 #258E58 #25268E
square
#8E255B #8E8C25 #258E58 #25268E
split-complementary
#8E255B #268E25 #258E8C
monochromatic
#2D0C1D #5D183C #8E255B #BF327A #D45A98

Accessibility & contrast

On white

8.18
#8E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E255B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E255B#FFFFFF#000000##FFFFFF
##8E255B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#555659
Tritanopia (blue-blind)
#991C3C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e255b;
/* rgb */ color: rgb(142, 37, 91);
/* oklch */ color: oklch(44.7% 0.149 353.4);
Tailwind
colors: {
  custom: {
    50: '#b36989',
    500: '#8e255b',
    950: '#000000',
  },
}
SCSS
$custom: #8e255b;
$custom-light: #b36989;
$custom-dark: #000000;
JSON
{
  "hex": "#8e255b",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 329.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.1489,
    "h": 353.4
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#8E255B
secondary
#56B986
accent
#E29246
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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