#8B1F72#8B1F72

#8B1F72 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.167 H 339.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8B1F72
RGBrgb(139, 31, 114)
HSLhsl(314, 64%, 33%)
HSVhsv(314, 78%, 55%)
CMYKcmyk(0%, 77.7%, 18%, 45.5%)
CIE-LABlab(33.32, 52.58, -21.93)
CIE-LCHlch(33.32, 56.96, 337.36°)
OKLaboklab(44.74% 0.1564 -0.0593)
OKLCHoklch(44.74% 0.167 339.2)
XYZxyz(14.1751, 7.6852, 16.6532)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F72 #1F8B38
analogous
#6E1F8B #8B1F72 #8B1F3C
triadic
#8B1F72 #728B1F #1F728B
tetradic
#8B1F72 #8B6E1F #1F8B38 #1F3C8B
square
#8B1F72 #8B6E1F #1F8B38 #1F3C8B
split-complementary
#8B1F72 #3C8B1F #1F8B6E
monochromatic
#270920 #591449 #8B1F72 #BD2A9B #D74DB7

Accessibility & contrast

On white

8.28
#8B1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B1F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F72
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F72#FFFFFF#000000##FFFFFF
##8B1F721.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#4A5470
Tritanopia (blue-blind)
#932446
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1f72;
/* rgb */ color: rgb(139, 31, 114);
/* oklch */ color: oklch(44.7% 0.167 339.2);
Tailwind
colors: {
  custom: {
    50: '#b0679a',
    500: '#8b1f72',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f72;
$custom-light: #b0679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f72",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 313.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.16731,
    "h": 339.2
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#8B1F72
secondary
#4CBA65
accent
#E76841
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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