#8A1773#8A1773

#8A1773 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.175 H 338.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8A1773
RGBrgb(138, 23, 115)
HSLhsl(312, 71%, 32%)
HSVhsv(312, 83%, 54%)
CMYKcmyk(0%, 83.3%, 16.7%, 45.9%)
CIE-LABlab(32.38, 54.78, -24.04)
CIE-LCHlch(32.38, 59.82, 336.31°)
OKLaboklab(44.04% 0.1625 -0.0653)
OKLCHoklch(44.04% 0.175 338.1)
XYZxyz(13.8825, 7.2553, 16.8856)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1773 #178A2E
analogous
#68178A #8A1773 #8A173A
triadic
#8A1773 #738A17 #17738A
tetradic
#8A1773 #8A6817 #178A2E #173A8A
square
#8A1773 #8A6817 #178A2E #173A8A
split-complementary
#8A1773 #3A8A17 #178A68
monochromatic
#21061C #560E47 #8A1773 #BE209F #DF3DBE

Accessibility & contrast

On white

8.57
#8A1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1773
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1773#FFFFFF#000000##FFFFFF
##8A17731.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1773;
/* rgb */ color: rgb(138, 23, 115);
/* oklch */ color: oklch(44.0% 0.175 338.1);
Tailwind
colors: {
  custom: {
    50: '#b0649b',
    500: '#8a1773',
    950: '#000000',
  },
}
SCSS
$custom: #8a1773;
$custom-light: #b0649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1773",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 312,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.17515,
    "h": 338.1
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#8A1773
secondary
#3FBE58
accent
#EE5E3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1773

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

Preview Lab → · Contrast checker → · Palette generator →

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