#8E1B52#8E1B52

#8E1B52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.156 H 357.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8E1B52
RGBrgb(142, 27, 82)
HSLhsl(331, 68%, 33%)
HSVhsv(331, 81%, 56%)
CMYKcmyk(0%, 81%, 42.3%, 44.3%)
CIE-LABlab(32.14, 50.60, -3.06)
CIE-LCHlch(32.14, 50.69, 356.54°)
OKLaboklab(43.55% 0.1557 -0.0074)
OKLCHoklch(43.55% 0.156 357.3)
XYZxyz(13.0712, 7.1456, 8.6719)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B52 #1B8E57
analogous
#8E1B8B #8E1B52 #8E1D1B
triadic
#8E1B52 #528E1B #1B528E
tetradic
#8E1B52 #8B8E1B #1B8E57 #1D1B8E
square
#8E1B52 #8B8E1B #1B8E57 #1D1B8E
split-complementary
#8E1B52 #1B8E1D #1B8B8E
monochromatic
#270717 #5B1134 #8E1B52 #C12570 #DC478E

Accessibility & contrast

On white

8.65
#8E1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B52
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B52#FFFFFF#000000##FFFFFF
##8E1B521.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9A0534
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1b52;
/* rgb */ color: rgb(142, 27, 82);
/* oklch */ color: oklch(43.5% 0.156 357.3);
Tailwind
colors: {
  custom: {
    50: '#b46582',
    500: '#8e1b52',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b52;
$custom-light: #b46582;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b52",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 331.304,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.15584,
    "h": 357.3
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#8E1B52
secondary
#47BE85
accent
#EB983D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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