#8D1A52#8D1A52

#8D1A52 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.156 H 356.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8D1A52
RGBrgb(141, 26, 82)
HSLhsl(331, 69%, 33%)
HSVhsv(331, 82%, 55%)
CMYKcmyk(0%, 81.6%, 41.8%, 44.7%)
CIE-LABlab(31.84, 50.62, -3.52)
CIE-LCHlch(31.84, 50.74, 356.02°)
OKLaboklab(43.29% 0.1558 -0.0086)
OKLCHoklch(43.29% 0.156 356.8)
XYZxyz(12.8778, 7.0124, 8.6564)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A52 #1A8D55
analogous
#8D1A8B #8D1A52 #8D1C1A
triadic
#8D1A52 #528D1A #1A528D
tetradic
#8D1A52 #8B8D1A #1A8D55 #1C1A8D
square
#8D1A52 #8B8D1A #1A8D55 #1C1A8D
split-complementary
#8D1A52 #1A8D1C #1A8B8D
monochromatic
#260716 #591034 #8D1A52 #C12470 #DD458F

Accessibility & contrast

On white

8.74
#8D1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8D1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A52
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A52#FFFFFF#000000##FFFFFF
##8D1A521.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#53534F
Tritanopia (blue-blind)
#990434
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1a52;
/* rgb */ color: rgb(141, 26, 82);
/* oklch */ color: oklch(43.3% 0.156 356.8);
Tailwind
colors: {
  custom: {
    50: '#b36482',
    500: '#8d1a52',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a52;
$custom-light: #b36482;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a52",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 330.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.15599,
    "h": 356.8
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#8D1A52
secondary
#45BE83
accent
#EC963C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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