#8D1A5F#8D1A5F

#8D1A5F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.162 H 349.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8D1A5F
RGBrgb(141, 26, 95)
HSLhsl(324, 69%, 33%)
HSVhsv(324, 82%, 55%)
CMYKcmyk(0%, 81.6%, 32.6%, 44.7%)
CIE-LABlab(32.32, 52.07, -11.26)
CIE-LCHlch(32.32, 53.27, 347.80°)
OKLaboklab(43.81% 0.1594 -0.0294)
OKLCHoklch(43.81% 0.162 349.5)
XYZxyz(13.4202, 7.2293, 11.5129)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A5F #1A8D48
analogous
#811A8D #8D1A5F #8D1A26
triadic
#8D1A5F #5F8D1A #1A5F8D
tetradic
#8D1A5F #8D811A #1A8D48 #1A268D
square
#8D1A5F #8D811A #1A8D48 #1A268D
split-complementary
#8D1A5F #268D1A #1A8D81
monochromatic
#260719 #59103C #8D1A5F #C12482 #DD45A0

Accessibility & contrast

On white

8.59
#8D1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8D1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A5F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A5F#FFFFFF#000000##FFFFFF
##8D1A5F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#50535C
Tritanopia (blue-blind)
#98113B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1a5f;
/* rgb */ color: rgb(141, 26, 95);
/* oklch */ color: oklch(43.8% 0.162 349.5);
Tailwind
colors: {
  custom: {
    50: '#b3658c',
    500: '#8d1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a5f;
$custom-light: #b3658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a5f",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 324,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.16211,
    "h": 349.5
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#8D1A5F
secondary
#45BE75
accent
#EC823C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8D1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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