#8D1B52#8D1B52

#8D1B52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.155 H 357.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8D1B52
RGBrgb(141, 27, 82)
HSLhsl(331, 68%, 33%)
HSVhsv(331, 81%, 55%)
CMYKcmyk(0%, 80.9%, 41.8%, 44.7%)
CIE-LABlab(31.94, 50.33, -3.37)
CIE-LCHlch(31.94, 50.44, 356.17°)
OKLaboklab(43.37% 0.1548 -0.0082)
OKLCHoklch(43.37% 0.155 357)
XYZxyz(12.9004, 7.0575, 8.6639)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B52 #1B8D56
analogous
#8D1B8B #8D1B52 #8D1D1B
triadic
#8D1B52 #528D1B #1B528D
tetradic
#8D1B52 #8B8D1B #1B8D56 #1D1B8D
square
#8D1B52 #8B8D1B #1B8D56 #1D1B8D
split-complementary
#8D1B52 #1B8D1D #1B8B8D
monochromatic
#260716 #5A1134 #8D1B52 #C02570 #DC478F

Accessibility & contrast

On white

8.71
#8D1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B52
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B52#FFFFFF#000000##FFFFFF
##8D1B521.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#990634
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1b52;
/* rgb */ color: rgb(141, 27, 82);
/* oklch */ color: oklch(43.4% 0.155 357.0);
Tailwind
colors: {
  custom: {
    50: '#b36582',
    500: '#8d1b52',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b52;
$custom-light: #b36582;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b52",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 331.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.15504,
    "h": 357
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#8D1B52
secondary
#46BD84
accent
#EB973D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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