#8B1972#8B1972

#8B1972 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.173 H 339.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8B1972
RGBrgb(139, 25, 114)
HSLhsl(313, 70%, 32%)
HSVhsv(313, 82%, 55%)
CMYKcmyk(0%, 82%, 18%, 45.5%)
CIE-LABlab(32.70, 54.34, -22.89)
CIE-LCHlch(32.70, 58.97, 337.16°)
OKLaboklab(44.29% 0.1618 -0.062)
OKLCHoklch(44.29% 0.173 339)
XYZxyz(14.0327, 7.4005, 16.6057)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1972 #198B32
analogous
#6B198B #8B1972 #8B1939
triadic
#8B1972 #728B19 #19728B
tetradic
#8B1972 #8B6B19 #198B32 #19398B
square
#8B1972 #8B6B19 #198B32 #19398B
split-complementary
#8B1972 #398B19 #198B6B
monochromatic
#23061D #571047 #8B1972 #BF229D #DD41BB

Accessibility & contrast

On white

8.47
#8B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8B1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1972
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1972#FFFFFF#000000##FFFFFF
##8B19721.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#931F45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1972;
/* rgb */ color: rgb(139, 25, 114);
/* oklch */ color: oklch(44.3% 0.173 339.0);
Tailwind
colors: {
  custom: {
    50: '#b1659b',
    500: '#8b1972',
    950: '#000000',
  },
}
SCSS
$custom: #8b1972;
$custom-light: #b1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1972",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 313.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.17327,
    "h": 339
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#8B1972
secondary
#42BE5D
accent
#EC623B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1972

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

Preview Lab → · Contrast checker → · Palette generator →

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