#8D1B5F#8D1B5F

#8D1B5F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.161 H 349.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8D1B5F
RGBrgb(141, 27, 95)
HSLhsl(324, 68%, 33%)
HSVhsv(324, 81%, 55%)
CMYKcmyk(0%, 80.9%, 32.6%, 44.7%)
CIE-LABlab(32.42, 51.79, -11.11)
CIE-LCHlch(32.42, 52.96, 347.90°)
OKLaboklab(43.88% 0.1585 -0.029)
OKLCHoklch(43.88% 0.161 349.6)
XYZxyz(13.4428, 7.2744, 11.5204)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B5F #1B8D49
analogous
#821B8D #8D1B5F #8D1B26
triadic
#8D1B5F #5F8D1B #1B5F8D
tetradic
#8D1B5F #8D821B #1B8D49 #1B268D
square
#8D1B5F #8D821B #1B8D49 #1B268D
split-complementary
#8D1B5F #268D1B #1B8D82
monochromatic
#26071A #5A113C #8D1B5F #C02582 #DC47A0

Accessibility & contrast

On white

8.56
#8D1B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1B5F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B5F#FFFFFF#000000##FFFFFF
##8D1B5F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1b5f;
/* rgb */ color: rgb(141, 27, 95);
/* oklch */ color: oklch(43.9% 0.161 349.6);
Tailwind
colors: {
  custom: {
    50: '#b3658c',
    500: '#8d1b5f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b5f;
$custom-light: #b3658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b5f",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 324.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.16115,
    "h": 349.6
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#8D1B5F
secondary
#46BD76
accent
#EB833D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8D1B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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