#8A1774#8A1774

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

Color values

HEX#8A1774
RGBrgb(138, 23, 116)
HSLhsl(311, 71%, 32%)
HSVhsv(311, 83%, 54%)
CMYKcmyk(0%, 83.3%, 15.9%, 45.9%)
CIE-LABlab(32.43, 54.92, -24.59)
CIE-LCHlch(32.43, 60.18, 335.88°)
OKLaboklab(44.1% 0.1626 -0.0669)
OKLCHoklch(44.1% 0.176 337.6)
XYZxyz(13.9403, 7.2784, 17.1903)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1774 #178A2D
analogous
#67178A #8A1774 #8A173B
triadic
#8A1774 #748A17 #17748A
tetradic
#8A1774 #8A6717 #178A2D #173B8A
square
#8A1774 #8A6717 #178A2D #173B8A
split-complementary
#8A1774 #3B8A17 #178A67
monochromatic
#21061C #560E48 #8A1774 #BE20A0 #DF3DC0

Accessibility & contrast

On white

8.55
#8A1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1774
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1774#FFFFFF#000000##FFFFFF
##8A17741.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#921F45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1774;
/* rgb */ color: rgb(138, 23, 116);
/* oklch */ color: oklch(44.1% 0.176 337.6);
Tailwind
colors: {
  custom: {
    50: '#b0649c',
    500: '#8a1774',
    950: '#000000',
  },
}
SCSS
$custom: #8a1774;
$custom-light: #b0649c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1774",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 311.478,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.17582,
    "h": 337.6
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#8A1774
secondary
#3FBE57
accent
#EE5C3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1774

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

Preview Lab → · Contrast checker → · Palette generator →

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