#8A1A6F#8A1A6F

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

Color values

HEX#8A1A6F
RGBrgb(138, 26, 111)
HSLhsl(314, 68%, 32%)
HSVhsv(314, 81%, 54%)
CMYKcmyk(0%, 81.2%, 19.6%, 45.9%)
CIE-LABlab(32.46, 53.41, -21.37)
CIE-LCHlch(32.46, 57.52, 338.19°)
OKLaboklab(44.04% 0.1596 -0.0577)
OKLCHoklch(44.04% 0.17 340.1)
XYZxyz(13.7203, 7.2912, 15.7206)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A6F #1A8A35
analogous
#6D1A8A #8A1A6F #8A1A37
triadic
#8A1A6F #6F8A1A #1A6F8A
tetradic
#8A1A6F #8A6D1A #1A8A35 #1A378A
square
#8A1A6F #8A6D1A #1A8A35 #1A378A
split-complementary
#8A1A6F #378A1A #1A8A6D
monochromatic
#23071C #571046 #8A1A6F #BD2498 #DC43B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1A6F#FFFFFF#000000##FFFFFF
##8A1A6F1.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)
#234171
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#931E43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1a6f;
/* rgb */ color: rgb(138, 26, 111);
/* oklch */ color: oklch(44.0% 0.170 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06598',
    500: '#8a1a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a6f;
$custom-light: #b06598;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a6f",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 314.464,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44035,
    "c": 0.16976,
    "h": 340.1
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#8A1A6F
secondary
#43BD60
accent
#EB673D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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