#8E335F#8E335F

#8E335F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.132 H 353.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8E335F
RGBrgb(142, 51, 95)
HSLhsl(331, 47%, 38%)
HSVhsv(331, 64%, 56%)
CMYKcmyk(0%, 64.1%, 33.1%, 44.3%)
CIE-LABlab(35.88, 42.96, -5.88)
CIE-LCHlch(35.88, 43.36, 352.20°)
OKLaboklab(46.45% 0.1309 -0.015)
OKLCHoklch(46.45% 0.132 353.5)
XYZxyz(14.4054, 8.9462, 11.7924)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E335F #338E62
analogous
#8E338C #8E335F #8E3533
triadic
#8E335F #5F8E33 #335F8E
tetradic
#8E335F #8C8E33 #338E62 #35338E
square
#8E335F #8C8E33 #338E62 #35338E
split-complementary
#8E335F #338E35 #338C8E
monochromatic
#341323 #612341 #8E335F #BB437D #CC709C

Accessibility & contrast

On white

7.53
#8E335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E335F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E335F#FFFFFF#000000##FFFFFF
##8E335F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#5A5B5D
Tritanopia (blue-blind)
#992D45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e335f;
/* rgb */ color: rgb(142, 51, 95);
/* oklch */ color: oklch(46.5% 0.132 353.5);
Tailwind
colors: {
  custom: {
    50: '#b2708c',
    500: '#8e335f',
    950: '#000000',
  },
}
SCSS
$custom: #8e335f;
$custom-light: #b2708c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e335f",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 330.989,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.13178,
    "h": 353.5
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E335F

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

Preview Lab → · Contrast checker → · Palette generator →

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