#8D1751#8D1751

#8D1751 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 357.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8D1751
RGBrgb(141, 23, 81)
HSLhsl(331, 72%, 32%)
HSVhsv(331, 84%, 55%)
CMYKcmyk(0%, 83.7%, 42.6%, 44.7%)
CIE-LABlab(31.51, 51.34, -3.35)
CIE-LCHlch(31.51, 51.45, 356.27°)
OKLaboklab(43.05% 0.1581 -0.0081)
OKLCHoklch(43.05% 0.158 357)
XYZxyz(12.7771, 6.8713, 8.4365)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1751 #178D53
analogous
#8D178C #8D1751 #8D1817
triadic
#8D1751 #518D17 #17518D
tetradic
#8D1751 #8C8D17 #178D53 #18178D
square
#8D1751 #8C8D17 #178D53 #18178D
split-complementary
#8D1751 #178D18 #178C8D
monochromatic
#240615 #580E33 #8D1751 #C2206F #E03F8E

Accessibility & contrast

On white

8.85
#8D1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1751
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1751#FFFFFF#000000##FFFFFF
##8D17511.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1751;
/* rgb */ color: rgb(141, 23, 81);
/* oklch */ color: oklch(43.0% 0.158 357.0);
Tailwind
colors: {
  custom: {
    50: '#b36381',
    500: '#8d1751',
    950: '#000000',
  },
}
SCSS
$custom: #8d1751;
$custom-light: #b36381;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1751",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 330.508,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.15828,
    "h": 357
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#8D1751
secondary
#40C081
accent
#EF9539
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1751

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

Preview Lab → · Contrast checker → · Palette generator →

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