#8E415B#8E415B

#8E415B is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.3% C 0.108 H 0.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8E415B
RGBrgb(142, 65, 91)
HSLhsl(340, 37%, 41%)
HSVhsv(340, 54%, 56%)
CMYKcmyk(0%, 54.2%, 35.9%, 44.3%)
CIE-LABlab(38.35, 35.52, 0.30)
CIE-LCHlch(38.35, 35.52, 0.48°)
OKLaboklab(48.26% 0.108 0.0012)
OKLCHoklch(48.26% 0.108 0.7)
XYZxyz(14.9347, 10.2882, 11.0948)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E415B #418E74
analogous
#8E4181 #8E415B #8E4D41
triadic
#8E415B #5B8E41 #415B8E
tetradic
#8E415B #818E41 #418E74 #4D418E
square
#8E415B #818E41 #418E74 #4D418E
split-complementary
#8E415B #418E4D #41818E
monochromatic
#3A1B25 #642E40 #8E415B #B35977 #C6839A

Accessibility & contrast

On white

6.87
#8E415B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8E415B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E415B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E415B#FFFFFF#000000##FFFFFF
##8E415B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515C
Deuteranopia (green-blind)
#626059
Tritanopia (blue-blind)
#993B4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e415b;
/* rgb */ color: rgb(142, 65, 91);
/* oklch */ color: oklch(48.3% 0.108 0.7);
Tailwind
colors: {
  custom: {
    50: '#b27889',
    500: '#8e415b',
    950: '#000000',
  },
}
SCSS
$custom: #8e415b;
$custom-light: #b27889;
$custom-dark: #000000;
JSON
{
  "hex": "#8e415b",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 339.74,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.10805,
    "h": 0.7
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#8E415B
secondary
#7AB19E
accent
#CDA65B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8E415B

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

Preview Lab → · Contrast checker → · Palette generator →

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