#8E2F56#8E2F56

#8E2F56 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.6% C 0.134 H 358.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E2F56
RGBrgb(142, 47, 86)
HSLhsl(335, 50%, 37%)
HSVhsv(335, 67%, 56%)
CMYKcmyk(0%, 66.9%, 39.4%, 44.3%)
CIE-LABlab(34.92, 43.65, -1.55)
CIE-LCHlch(34.92, 43.68, 357.97°)
OKLaboklab(45.64% 0.1335 -0.0035)
OKLCHoklch(45.64% 0.134 358.5)
XYZxyz(13.8524, 8.4573, 9.7052)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F56 #2F8E67
analogous
#8E2F86 #8E2F56 #8E372F
triadic
#8E2F56 #568E2F #2F568E
tetradic
#8E2F56 #868E2F #2F8E67 #372F8E
square
#8E2F56 #868E2F #2F8E67 #372F8E
split-complementary
#8E2F56 #2F8E37 #2F868E
monochromatic
#32111E #60203A #8E2F56 #BC3E72 #CE6A93

Accessibility & contrast

On white

7.80
#8E2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F56
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F56#FFFFFF#000000##FFFFFF
##8E2F561.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404757
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#99263F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2f56;
/* rgb */ color: rgb(142, 47, 86);
/* oklch */ color: oklch(45.6% 0.134 358.5);
Tailwind
colors: {
  custom: {
    50: '#b36e85',
    500: '#8e2f56',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f56;
$custom-light: #b36e85;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f56",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 335.368,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.13359,
    "h": 358.5
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#8E2F56
secondary
#64B594
accent
#DAA04E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8E2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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