#8A1072#8A1072

#8A1072 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.180 H 338.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8A1072
RGBrgb(138, 16, 114)
HSLhsl(312, 79%, 30%)
HSVhsv(312, 88%, 54%)
CMYKcmyk(0%, 88.4%, 17.4%, 45.9%)
CIE-LABlab(31.78, 56.22, -24.34)
CIE-LCHlch(31.78, 61.26, 336.59°)
OKLaboklab(43.6% 0.1672 -0.0661)
OKLCHoklch(43.6% 0.18 338.4)
XYZxyz(13.7042, 6.9902, 16.5438)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1072 #108A28
analogous
#65108A #8A1072 #8A1035
triadic
#8A1072 #728A10 #10728A
tetradic
#8A1072 #8A6510 #108A28 #10358A
square
#8A1072 #8A6510 #108A28 #10358A
split-complementary
#8A1072 #358A10 #108A65
monochromatic
#1C0317 #530A45 #8A1072 #C1169F #E72EC2

Accessibility & contrast

On white

8.76
#8A1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1072
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1072#FFFFFF#000000##FFFFFF
##8A10721.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#921943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1072;
/* rgb */ color: rgb(138, 16, 114);
/* oklch */ color: oklch(43.6% 0.180 338.4);
Tailwind
colors: {
  custom: {
    50: '#b0629b',
    500: '#8a1072',
    950: '#000000',
  },
}
SCSS
$custom: #8a1072;
$custom-light: #b0629b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1072",
  "rgb": {
    "r": 138,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 311.803,
    "s": 79.221,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.17981,
    "h": 338.4
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#8A1072
secondary
#37BF52
accent
#F65932
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1072

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

Preview Lab → · Contrast checker → · Palette generator →

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