#8E335E#8E335E

#8E335E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.131 H 354.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8E335E
RGBrgb(142, 51, 94)
HSLhsl(332, 47%, 38%)
HSVhsv(332, 64%, 56%)
CMYKcmyk(0%, 64.1%, 33.8%, 44.3%)
CIE-LABlab(35.85, 42.83, -5.30)
CIE-LCHlch(35.85, 43.16, 352.95°)
OKLaboklab(46.42% 0.1306 -0.0135)
OKLCHoklch(46.42% 0.131 354.1)
XYZxyz(14.3603, 8.9281, 11.5545)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E335E #338E63
analogous
#8E338B #8E335E #8E3533
triadic
#8E335E #5E8E33 #335E8E
tetradic
#8E335E #8B8E33 #338E63 #35338E
square
#8E335E #8B8E33 #338E63 #35338E
split-complementary
#8E335E #338E35 #338B8E
monochromatic
#341322 #612340 #8E335E #BB437C #CC709B

Accessibility & contrast

On white

7.54
#8E335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E335E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E335E#FFFFFF#000000##FFFFFF
##8E335E1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#5A5A5C
Tritanopia (blue-blind)
#992D44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e335e;
/* rgb */ color: rgb(142, 51, 94);
/* oklch */ color: oklch(46.4% 0.131 354.1);
Tailwind
colors: {
  custom: {
    50: '#b2708b',
    500: '#8e335e',
    950: '#000000',
  },
}
SCSS
$custom: #8e335e;
$custom-light: #b2708b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e335e",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 331.648,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.13129,
    "h": 354.1
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#8E335E
secondary
#69B490
accent
#D79851
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8E335E

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

Preview Lab → · Contrast checker → · Palette generator →

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