#8B1C52#8B1C52

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

Color values

HEX#8B1C52
RGBrgb(139, 28, 82)
HSLhsl(331, 66%, 33%)
HSVhsv(331, 80%, 55%)
CMYKcmyk(0%, 79.9%, 41%, 45.5%)
CIE-LABlab(31.65, 49.48, -3.85)
CIE-LCHlch(31.65, 49.63, 355.56°)
OKLaboklab(43.09% 0.1521 -0.0095)
OKLCHoklch(43.09% 0.152 356.4)
XYZxyz(12.5866, 6.9303, 8.6559)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C52 #1C8B55
analogous
#8B1C89 #8B1C52 #8B1E1C
triadic
#8B1C52 #528B1C #1C528B
tetradic
#8B1C52 #898B1C #1C8B55 #1E1C8B
square
#8B1C52 #898B1C #1C8B55 #1E1C8B
split-complementary
#8B1C52 #1C8B1E #1C898B
monochromatic
#250716 #581234 #8B1C52 #BE2670 #DA478F

Accessibility & contrast

On white

8.80
#8B1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8B1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C52
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C52#FFFFFF#000000##FFFFFF
##8B1C521.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#970A34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1c52;
/* rgb */ color: rgb(139, 28, 82);
/* oklch */ color: oklch(43.1% 0.152 356.4);
Tailwind
colors: {
  custom: {
    50: '#b26582',
    500: '#8b1c52',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c52;
$custom-light: #b26582;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c52",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 330.811,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.15243,
    "h": 356.4
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#8B1C52
secondary
#47BC83
accent
#E9963E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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