#8A1A3A#8A1A3A

#8A1A3A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 10.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8A1A3A
RGBrgb(138, 26, 58)
HSLhsl(343, 68%, 32%)
HSVhsv(343, 81%, 54%)
CMYKcmyk(0%, 81.2%, 58%, 45.9%)
CIE-LABlab(30.52, 47.61, 10.37)
CIE-LCHlch(30.52, 48.73, 12.29°)
OKLaboklab(41.99% 0.1444 0.0261)
OKLCHoklch(41.99% 0.147 10.2)
XYZxyz(11.6155, 6.4492, 4.6354)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A3A #1A8A6A
analogous
#8A1A72 #8A1A3A #8A321A
triadic
#8A1A3A #3A8A1A #1A3A8A
tetradic
#8A1A3A #728A1A #1A8A6A #321A8A
square
#8A1A3A #728A1A #1A8A6A #321A8A
split-complementary
#8A1A3A #1A8A32 #1A728A
monochromatic
#23070F #571024 #8A1A3A #BD2450 #DC436E

Accessibility & contrast

On white

9.17
#8A1A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A3A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A3A#FFFFFF#000000##FFFFFF
##8A1A3A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393B
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a3a;
/* rgb */ color: rgb(138, 26, 58);
/* oklch */ color: oklch(42.0% 0.147 10.2);
Tailwind
colors: {
  custom: {
    50: '#b2636f',
    500: '#8a1a3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a3a;
$custom-light: #b2636f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a3a",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 342.857,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.14673,
    "h": 10.2
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#8A1A3A
secondary
#43BD9A
accent
#EBB93D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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