#8A1A74#8A1A74

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

Color values

HEX#8A1A74
RGBrgb(138, 26, 116)
HSLhsl(312, 68%, 32%)
HSVhsv(312, 81%, 54%)
CMYKcmyk(0%, 81.2%, 15.9%, 45.9%)
CIE-LABlab(32.71, 54.12, -24.16)
CIE-LCHlch(32.71, 59.27, 335.95°)
OKLaboklab(44.3% 0.1602 -0.0657)
OKLCHoklch(44.3% 0.173 337.7)
XYZxyz(14.0033, 7.4044, 17.2113)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A74 #1A8A30
analogous
#681A8A #8A1A74 #8A1A3C
triadic
#8A1A74 #748A1A #1A748A
tetradic
#8A1A74 #8A681A #1A8A30 #1A3C8A
square
#8A1A74 #8A681A #1A8A30 #1A3C8A
split-complementary
#8A1A74 #3C8A1A #1A8A68
monochromatic
#23071D #571049 #8A1A74 #BD249F #DC43BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1A74#FFFFFF#000000##FFFFFF
##8A1A741.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)
#1F4276
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#922146
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a74;
/* rgb */ color: rgb(138, 26, 116);
/* oklch */ color: oklch(44.3% 0.173 337.7);
Tailwind
colors: {
  custom: {
    50: '#b0659c',
    500: '#8a1a74',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a74;
$custom-light: #b0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a74",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 311.786,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.17313,
    "h": 337.7
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#8A1A74
secondary
#43BD5B
accent
#EB5F3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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