#8A1372#8A1372

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

Color values

HEX#8A1372
RGBrgb(138, 19, 114)
HSLhsl(312, 76%, 31%)
HSVhsv(312, 86%, 54%)
CMYKcmyk(0%, 86.2%, 17.4%, 45.9%)
CIE-LABlab(32.00, 55.59, -24.00)
CIE-LCHlch(32.00, 60.55, 336.65°)
OKLaboklab(43.75% 0.1653 -0.0652)
OKLCHoklch(43.75% 0.178 338.5)
XYZxyz(13.7517, 7.0853, 16.5597)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1372 #138A2B
analogous
#66138A #8A1372 #8A1336
triadic
#8A1372 #728A13 #13728A
tetradic
#8A1372 #8A6613 #138A2B #13368A
square
#8A1372 #8A6613 #138A2B #13368A
split-complementary
#8A1372 #368A13 #138A66
monochromatic
#1E0419 #540C46 #8A1372 #C01A9E #E334C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1372#FFFFFF#000000##FFFFFF
##8A13721.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)
#1B4074
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#921B43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1372;
/* rgb */ color: rgb(138, 19, 114);
/* oklch */ color: oklch(43.8% 0.178 338.5);
Tailwind
colors: {
  custom: {
    50: '#b0639b',
    500: '#8a1372',
    950: '#000000',
  },
}
SCSS
$custom: #8a1372;
$custom-light: #b0639b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1372",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 312.101,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43754,
    "c": 0.17769,
    "h": 338.5
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#8A1372
secondary
#3ABE55
accent
#F25C35
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1372

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

Preview Lab → · Contrast checker → · Palette generator →

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