#8E2F5C#8E2F5C

#8E2F5C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.136 H 354.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8E2F5C
RGBrgb(142, 47, 92)
HSLhsl(332, 50%, 37%)
HSVhsv(332, 67%, 56%)
CMYKcmyk(0%, 66.9%, 35.2%, 44.3%)
CIE-LABlab(35.12, 44.37, -5.10)
CIE-LCHlch(35.12, 44.66, 353.44°)
OKLaboklab(45.86% 0.1356 -0.0129)
OKLCHoklch(45.86% 0.136 354.6)
XYZxyz(14.1044, 8.5581, 11.0322)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F5C #2F8E61
analogous
#8E2F8C #8E2F5C #8E312F
triadic
#8E2F5C #5C8E2F #2F5C8E
tetradic
#8E2F5C #8C8E2F #2F8E61 #312F8E
square
#8E2F5C #8C8E2F #2F8E61 #312F8E
split-complementary
#8E2F5C #2F8E31 #2F8C8E
monochromatic
#321120 #60203E #8E2F5C #BC3E7A #CE6A99

Accessibility & contrast

On white

7.75
#8E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F5C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F5C#FFFFFF#000000##FFFFFF
##8E2F5C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485D
Deuteranopia (green-blind)
#59595A
Tritanopia (blue-blind)
#992841
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2f5c;
/* rgb */ color: rgb(142, 47, 92);
/* oklch */ color: oklch(45.9% 0.136 354.6);
Tailwind
colors: {
  custom: {
    50: '#b36e8a',
    500: '#8e2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f5c;
$custom-light: #b36e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f5c",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 331.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.13616,
    "h": 354.6
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#8E2F5C
secondary
#64B58F
accent
#DA984E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8E2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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