#8A1A4A#8A1A4A

#8A1A4A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.151 H 0.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8A1A4A
RGBrgb(138, 26, 74)
HSLhsl(334, 68%, 32%)
HSVhsv(334, 81%, 54%)
CMYKcmyk(0%, 81.2%, 46.4%, 45.9%)
CIE-LABlab(30.97, 48.99, 0.40)
CIE-LCHlch(30.97, 48.99, 0.46°)
OKLaboklab(42.46% 0.1505 0.0016)
OKLCHoklch(42.46% 0.151 0.6)
XYZxyz(12.0876, 6.6381, 7.1220)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A4A #1A8A5A
analogous
#8A1A82 #8A1A4A #8A221A
triadic
#8A1A4A #4A8A1A #1A4A8A
tetradic
#8A1A4A #828A1A #1A8A5A #221A8A
square
#8A1A4A #828A1A #1A8A5A #221A8A
split-complementary
#8A1A4A #1A8A22 #1A828A
monochromatic
#230713 #57102E #8A1A4A #BD2466 #DC4384

Accessibility & contrast

On white

9.02
#8A1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A4A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A4A#FFFFFF#000000##FFFFFF
##8A1A4A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a4a;
/* rgb */ color: rgb(138, 26, 74);
/* oklch */ color: oklch(42.5% 0.151 0.6);
Tailwind
colors: {
  custom: {
    50: '#b1647c',
    500: '#8a1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a4a;
$custom-light: #b1647c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a4a",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 334.286,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.15055,
    "h": 0.6
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#8A1A4A
secondary
#43BD89
accent
#EBA03D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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