#8E286F#8E286F

#8E286F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 342.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8E286F
RGBrgb(142, 40, 111)
HSLhsl(318, 56%, 36%)
HSVhsv(318, 72%, 56%)
CMYKcmyk(0%, 71.8%, 21.8%, 44.3%)
CIE-LABlab(34.84, 49.77, -17.63)
CIE-LCHlch(34.84, 52.80, 340.50°)
OKLaboklab(45.9% 0.1494 -0.0472)
OKLCHoklch(45.9% 0.157 342.5)
XYZxyz(14.7838, 8.4175, 15.8820)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286F #288E47
analogous
#7A288E #8E286F #8E283C
triadic
#8E286F #6F8E28 #286F8E
tetradic
#8E286F #8E7A28 #288E47 #283C8E
square
#8E286F #8E7A28 #288E47 #283C8E
split-complementary
#8E286F #3C8E28 #288E7A
monochromatic
#2F0D24 #5E1B4A #8E286F #BE3594 #D25FAF

Accessibility & contrast

On white

7.83
#8E286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E286F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286F#FFFFFF#000000##FFFFFF
##8E286F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#972948
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e286f;
/* rgb */ color: rgb(142, 40, 111);
/* oklch */ color: oklch(45.9% 0.157 342.5);
Tailwind
colors: {
  custom: {
    50: '#b26b98',
    500: '#8e286f',
    950: '#000000',
  },
}
SCSS
$custom: #8e286f;
$custom-light: #b26b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286f",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 318.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.15666,
    "h": 342.5
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8E286F
secondary
#5BB777
accent
#DF7648
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E286F

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

Preview Lab → · Contrast checker → · Palette generator →

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