#8D1F52#8D1F52

#8D1F52 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.151 H 357.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8D1F52
RGBrgb(141, 31, 82)
HSLhsl(332, 64%, 34%)
HSVhsv(332, 78%, 55%)
CMYKcmyk(0%, 78%, 41.8%, 44.7%)
CIE-LABlab(32.38, 49.08, -2.72)
CIE-LCHlch(32.38, 49.16, 356.83°)
OKLaboklab(43.69% 0.1508 -0.0065)
OKLCHoklch(43.69% 0.151 357.5)
XYZxyz(12.9984, 7.2536, 8.6966)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F52 #1F8D5A
analogous
#8D1F89 #8D1F52 #8D231F
triadic
#8D1F52 #528D1F #1F528D
tetradic
#8D1F52 #898D1F #1F8D5A #231F8D
square
#8D1F52 #898D1F #1F8D5A #231F8D
split-complementary
#8D1F52 #1F8D23 #1F898D
monochromatic
#290918 #5B1435 #8D1F52 #BF2A6F #D84E8E

Accessibility & contrast

On white

8.57
#8D1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F52
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F52#FFFFFF#000000##FFFFFF
##8D1F521.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#55544F
Tritanopia (blue-blind)
#990E36
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f52;
/* rgb */ color: rgb(141, 31, 82);
/* oklch */ color: oklch(43.7% 0.151 357.5);
Tailwind
colors: {
  custom: {
    50: '#b36682',
    500: '#8d1f52',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f52;
$custom-light: #b36682;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f52",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 332.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.15097,
    "h": 357.5
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#8D1F52
secondary
#4DBB88
accent
#E79A41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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