#8A1A70#8A1A70

#8A1A70 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.170 H 339.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A1A70
RGBrgb(138, 26, 112)
HSLhsl(314, 68%, 32%)
HSVhsv(314, 81%, 54%)
CMYKcmyk(0%, 81.2%, 18.8%, 45.9%)
CIE-LABlab(32.51, 53.55, -21.93)
CIE-LCHlch(32.51, 57.86, 337.73°)
OKLaboklab(44.09% 0.1598 -0.0593)
OKLCHoklch(44.09% 0.17 339.6)
XYZxyz(13.7757, 7.3133, 16.0122)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A70 #1A8A34
analogous
#6C1A8A #8A1A70 #8A1A38
triadic
#8A1A70 #708A1A #1A708A
tetradic
#8A1A70 #8A6C1A #1A8A34 #1A388A
square
#8A1A70 #8A6C1A #1A8A34 #1A388A
split-complementary
#8A1A70 #388A1A #1A8A6C
monochromatic
#23071C #571046 #8A1A70 #BD249A #DC43B8

Accessibility & contrast

On white

8.53
#8A1A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A70
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A70#FFFFFF#000000##FFFFFF
##8A1A701.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#48536E
Tritanopia (blue-blind)
#921F44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1a70;
/* rgb */ color: rgb(138, 26, 112);
/* oklch */ color: oklch(44.1% 0.170 339.6);
Tailwind
colors: {
  custom: {
    50: '#b06599',
    500: '#8a1a70',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a70;
$custom-light: #b06599;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a70",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 313.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.17042,
    "h": 339.6
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#8A1A70
secondary
#43BD5F
accent
#EB653D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A70

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

Preview Lab → · Contrast checker → · Palette generator →

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