#8A1775#8A1775

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

Color values

HEX#8A1775
RGBrgb(138, 23, 117)
HSLhsl(311, 71%, 32%)
HSVhsv(311, 83%, 54%)
CMYKcmyk(0%, 83.3%, 15.2%, 45.9%)
CIE-LABlab(32.48, 55.07, -25.14)
CIE-LCHlch(32.48, 60.54, 335.46°)
OKLaboklab(44.15% 0.1627 -0.0685)
OKLCHoklch(44.15% 0.177 337.2)
XYZxyz(13.9988, 7.3018, 17.4983)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1775 #178A2C
analogous
#66178A #8A1775 #8A173B
triadic
#8A1775 #758A17 #17758A
tetradic
#8A1775 #8A6617 #178A2C #173B8A
square
#8A1775 #8A6617 #178A2C #173B8A
split-complementary
#8A1775 #3B8A17 #178A66
monochromatic
#21061C #560E49 #8A1775 #BE20A1 #DF3DC1

Accessibility & contrast

On white

8.54
#8A1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1775
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1775#FFFFFF#000000##FFFFFF
##8A17751.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#922046
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1775;
/* rgb */ color: rgb(138, 23, 117);
/* oklch */ color: oklch(44.2% 0.176 337.2);
Tailwind
colors: {
  custom: {
    50: '#b0649d',
    500: '#8a1775',
    950: '#000000',
  },
}
SCSS
$custom: #8a1775;
$custom-light: #b0649d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1775",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 310.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.1765,
    "h": 337.2
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#8A1775
secondary
#3FBE56
accent
#EE5B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1775

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

Preview Lab → · Contrast checker → · Palette generator →

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