#8B1F52#8B1F52

#8B1F52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.149 H 356.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8B1F52
RGBrgb(139, 31, 82)
HSLhsl(332, 64%, 33%)
HSVhsv(332, 78%, 55%)
CMYKcmyk(0%, 77.7%, 41%, 45.5%)
CIE-LABlab(31.99, 48.51, -3.34)
CIE-LCHlch(31.99, 48.63, 356.06°)
OKLaboklab(43.33% 0.1491 -0.0082)
OKLCHoklch(43.33% 0.149 356.9)
XYZxyz(12.6613, 7.0797, 8.6808)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F52 #1F8B58
analogous
#8B1F88 #8B1F52 #8B221F
triadic
#8B1F52 #528B1F #1F528B
tetradic
#8B1F52 #888B1F #1F8B58 #221F8B
square
#8B1F52 #888B1F #1F8B58 #221F8B
split-complementary
#8B1F52 #1F8B22 #1F888B
monochromatic
#270917 #591434 #8B1F52 #BD2A70 #D74D8E

Accessibility & contrast

On white

8.69
#8B1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8B1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F52
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F52#FFFFFF#000000##FFFFFF
##8B1F521.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E53
Deuteranopia (green-blind)
#535350
Tritanopia (blue-blind)
#970F36
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1f52;
/* rgb */ color: rgb(139, 31, 82);
/* oklch */ color: oklch(43.3% 0.149 356.9);
Tailwind
colors: {
  custom: {
    50: '#b26682',
    500: '#8b1f52',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f52;
$custom-light: #b26682;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f52",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 331.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.14928,
    "h": 356.9
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#8B1F52
secondary
#4CBA86
accent
#E79841
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8B1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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