#8A1A75#8A1A75

#8A1A75 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.174 H 337.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A1A75
RGBrgb(138, 26, 117)
HSLhsl(311, 68%, 32%)
HSVhsv(311, 81%, 54%)
CMYKcmyk(0%, 81.2%, 15.2%, 45.9%)
CIE-LABlab(32.76, 54.27, -24.71)
CIE-LCHlch(32.76, 59.63, 335.52°)
OKLaboklab(44.35% 0.1603 -0.0673)
OKLCHoklch(44.35% 0.174 337.2)
XYZxyz(14.0618, 7.4278, 17.5193)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A75 #1A8A2F
analogous
#671A8A #8A1A75 #8A1A3D
triadic
#8A1A75 #758A1A #1A758A
tetradic
#8A1A75 #8A671A #1A8A2F #1A3D8A
square
#8A1A75 #8A671A #1A8A2F #1A3D8A
split-complementary
#8A1A75 #3D8A1A #1A8A67
monochromatic
#23071E #571049 #8A1A75 #BD24A1 #DC43BF

Accessibility & contrast

On white

8.45
#8A1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A75
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A75#FFFFFF#000000##FFFFFF
##8A1A751.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#465372
Tritanopia (blue-blind)
#922247
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a75;
/* rgb */ color: rgb(138, 26, 117);
/* oklch */ color: oklch(44.4% 0.174 337.2);
Tailwind
colors: {
  custom: {
    50: '#b0659d',
    500: '#8a1a75',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a75;
$custom-light: #b0659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a75",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 311.25,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.17382,
    "h": 337.2
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#8A1A75
secondary
#43BD5A
accent
#EB5D3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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