#8A1C74#8A1C74

#8A1C74 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 337.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A1C74
RGBrgb(138, 28, 116)
HSLhsl(312, 66%, 33%)
HSVhsv(312, 80%, 54%)
CMYKcmyk(0%, 79.7%, 15.9%, 45.9%)
CIE-LABlab(32.91, 53.55, -23.84)
CIE-LCHlch(32.91, 58.61, 336.00°)
OKLaboklab(44.44% 0.1585 -0.0648)
OKLCHoklch(44.44% 0.171 337.8)
XYZxyz(14.0492, 7.4961, 17.2266)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C74 #1C8A32
analogous
#691C8A #8A1C74 #8A1C3D
triadic
#8A1C74 #748A1C #1C748A
tetradic
#8A1C74 #8A691C #1C8A32 #1C3D8A
square
#8A1C74 #8A691C #1C8A32 #1C3D8A
split-complementary
#8A1C74 #3D8A1C #1C8A69
monochromatic
#24071E #571249 #8A1C74 #BD269F #DA47BC

Accessibility & contrast

On white

8.40
#8A1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C74
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C74#FFFFFF#000000##FFFFFF
##8A1C741.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#922347
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c74;
/* rgb */ color: rgb(138, 28, 116);
/* oklch */ color: oklch(44.4% 0.171 337.8);
Tailwind
colors: {
  custom: {
    50: '#b0669c',
    500: '#8a1c74',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c74;
$custom-light: #b0669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c74",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 312,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4444,
    "c": 0.17119,
    "h": 337.8
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#8A1C74
secondary
#46BB5E
accent
#E9613F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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