#8D1851#8D1851

#8D1851 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.157 H 357.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8D1851
RGBrgb(141, 24, 81)
HSLhsl(331, 71%, 32%)
HSVhsv(331, 83%, 55%)
CMYKcmyk(0%, 83%, 42.6%, 44.7%)
CIE-LABlab(31.61, 51.07, -3.21)
CIE-LCHlch(31.61, 51.17, 356.41°)
OKLaboklab(43.11% 0.1572 -0.0078)
OKLCHoklch(43.11% 0.157 357.2)
XYZxyz(12.7973, 6.9118, 8.4432)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1851 #188D54
analogous
#8D188C #8D1851 #8D1918
triadic
#8D1851 #518D18 #18518D
tetradic
#8D1851 #8C8D18 #188D54 #19188D
square
#8D1851 #8C8D18 #188D54 #19188D
split-complementary
#8D1851 #188D19 #188C8D
monochromatic
#240615 #590F33 #8D1851 #C1216F #DF418E

Accessibility & contrast

On white

8.82
#8D1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8D1851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1851
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1851#FFFFFF#000000##FFFFFF
##8D18511.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#990033
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1851;
/* rgb */ color: rgb(141, 24, 81);
/* oklch */ color: oklch(43.1% 0.157 357.2);
Tailwind
colors: {
  custom: {
    50: '#b36481',
    500: '#8d1851',
    950: '#000000',
  },
}
SCSS
$custom: #8d1851;
$custom-light: #b36481;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1851",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 330.769,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.15741,
    "h": 357.2
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#8D1851
secondary
#42BF82
accent
#EE963A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1851

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

Preview Lab → · Contrast checker → · Palette generator →

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