#8E2A5F#8E2A5F

#8E2A5F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.145 H 351.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E2A5F
RGBrgb(142, 42, 95)
HSLhsl(328, 54%, 36%)
HSVhsv(328, 70%, 56%)
CMYKcmyk(0%, 70.4%, 33.1%, 44.3%)
CIE-LABlab(34.47, 46.84, -8.00)
CIE-LCHlch(34.47, 47.52, 350.31°)
OKLaboklab(45.41% 0.143 -0.0207)
OKLCHoklch(45.41% 0.145 351.8)
XYZxyz(14.0496, 8.2345, 11.6738)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A5F #2A8E59
analogous
#8B2A8E #8E2A5F #8E2A2D
triadic
#8E2A5F #5F8E2A #2A5F8E
tetradic
#8E2A5F #8E8B2A #2A8E59 #2A2D8E
square
#8E2A5F #8E8B2A #2A8E59 #2A2D8E
split-complementary
#8E2A5F #2D8E2A #2A8E8B
monochromatic
#300E20 #5F1C3F #8E2A5F #BD387F #D1629D

Accessibility & contrast

On white

7.93
#8E2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A5F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A5F#FFFFFF#000000##FFFFFF
##8E2A5F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#56585D
Tritanopia (blue-blind)
#992441
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2a5f;
/* rgb */ color: rgb(142, 42, 95);
/* oklch */ color: oklch(45.4% 0.145 351.8);
Tailwind
colors: {
  custom: {
    50: '#b36c8c',
    500: '#8e2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a5f;
$custom-light: #b36c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a5f",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 328.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.14453,
    "h": 351.8
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#8E2A5F
secondary
#5DB687
accent
#DE8F4A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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