#8D1A58#8D1A58

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

Color values

HEX#8D1A58
RGBrgb(141, 26, 88)
HSLhsl(328, 69%, 33%)
HSVhsv(328, 82%, 55%)
CMYKcmyk(0%, 81.6%, 37.6%, 44.7%)
CIE-LABlab(32.05, 51.26, -7.12)
CIE-LCHlch(32.05, 51.76, 352.09°)
OKLaboklab(43.52% 0.1576 -0.0182)
OKLCHoklch(43.52% 0.159 353.4)
XYZxyz(13.1162, 7.1077, 9.9119)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A58 #1A8D4F
analogous
#881A8D #8D1A58 #8D1A1F
triadic
#8D1A58 #588D1A #1A588D
tetradic
#8D1A58 #8D881A #1A8D4F #1A1F8D
square
#8D1A58 #8D881A #1A8D4F #1A1F8D
split-complementary
#8D1A58 #1F8D1A #1A8D88
monochromatic
#260718 #591038 #8D1A58 #C12478 #DD4597

Accessibility & contrast

On white

8.67
#8D1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8D1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A58
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A58#FFFFFF#000000##FFFFFF
##8D1A581.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E5A
Deuteranopia (green-blind)
#525355
Tritanopia (blue-blind)
#980A37
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1a58;
/* rgb */ color: rgb(141, 26, 88);
/* oklch */ color: oklch(43.5% 0.159 353.4);
Tailwind
colors: {
  custom: {
    50: '#b36587',
    500: '#8d1a58',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a58;
$custom-light: #b36587;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a58",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 327.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.15861,
    "h": 353.4
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#8D1A58
secondary
#45BE7D
accent
#EC8D3C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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