#8E2F52#8E2F52

#8E2F52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.132 H 1.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E2F52
RGBrgb(142, 47, 82)
HSLhsl(338, 50%, 37%)
HSVhsv(338, 67%, 56%)
CMYKcmyk(0%, 66.9%, 42.3%, 44.3%)
CIE-LABlab(34.79, 43.20, 0.84)
CIE-LCHlch(34.79, 43.21, 1.11°)
OKLaboklab(45.51% 0.1321 0.0027)
OKLCHoklch(45.51% 0.132 1.2)
XYZxyz(13.6958, 8.3946, 8.8801)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F52 #2F8E6B
analogous
#8E2F82 #8E2F52 #8E3C2F
triadic
#8E2F52 #528E2F #2F528E
tetradic
#8E2F52 #828E2F #2F8E6B #3C2F8E
square
#8E2F52 #828E2F #2F8E6B #3C2F8E
split-complementary
#8E2F52 #2F8E3C #2F828E
monochromatic
#32111D #602037 #8E2F52 #BC3E6D #CE6A8F

Accessibility & contrast

On white

7.84
#8E2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F52
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F52#FFFFFF#000000##FFFFFF
##8E2F521.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#5B5950
Tritanopia (blue-blind)
#9A243D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2f52;
/* rgb */ color: rgb(142, 47, 82);
/* oklch */ color: oklch(45.5% 0.132 1.2);
Tailwind
colors: {
  custom: {
    50: '#b36e82',
    500: '#8e2f52',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f52;
$custom-light: #b36e82;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f52",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 337.895,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.13214,
    "h": 1.2
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#8E2F52
secondary
#64B597
accent
#DAA64E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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