#8A1472#8A1472

#8A1472 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.8% C 0.177 H 338.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8A1472
RGBrgb(138, 20, 114)
HSLhsl(312, 75%, 31%)
HSVhsv(312, 86%, 54%)
CMYKcmyk(0%, 85.5%, 17.4%, 45.9%)
CIE-LABlab(32.08, 55.36, -23.88)
CIE-LCHlch(32.08, 60.29, 336.67°)
OKLaboklab(43.81% 0.1646 -0.0649)
OKLCHoklch(43.81% 0.177 338.5)
XYZxyz(13.7690, 7.1199, 16.5655)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1472 #148A2C
analogous
#67148A #8A1472 #8A1437
triadic
#8A1472 #728A14 #14728A
tetradic
#8A1472 #8A6714 #148A2C #14378A
square
#8A1472 #8A6714 #148A2C #14378A
split-complementary
#8A1472 #378A14 #148A67
monochromatic
#1F051A #550C46 #8A1472 #BF1C9E #E236BF

Accessibility & contrast

On white

8.66
#8A1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1472
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1472#FFFFFF#000000##FFFFFF
##8A14721.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#921C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1472;
/* rgb */ color: rgb(138, 20, 114);
/* oklch */ color: oklch(43.8% 0.177 338.5);
Tailwind
colors: {
  custom: {
    50: '#b0639b',
    500: '#8a1472',
    950: '#000000',
  },
}
SCSS
$custom: #8a1472;
$custom-light: #b0639b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1472",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 312.203,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.17694,
    "h": 338.5
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#8A1472
secondary
#3CBE56
accent
#F15C36
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1472

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

Preview Lab → · Contrast checker → · Palette generator →

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