#8A1A3C#8A1A3C

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

Color values

HEX#8A1A3C
RGBrgb(138, 26, 60)
HSLhsl(342, 68%, 32%)
HSVhsv(342, 81%, 54%)
CMYKcmyk(0%, 81.2%, 56.5%, 45.9%)
CIE-LABlab(30.57, 47.77, 9.11)
CIE-LCHlch(30.57, 48.63, 10.80°)
OKLaboklab(42.04% 0.1452 0.0231)
OKLCHoklch(42.04% 0.147 9)
XYZxyz(11.6674, 6.4700, 4.9086)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A3C #1A8A68
analogous
#8A1A74 #8A1A3C #8A301A
triadic
#8A1A3C #3C8A1A #1A3C8A
tetradic
#8A1A3C #748A1A #1A8A68 #301A8A
square
#8A1A3C #748A1A #1A8A68 #301A8A
split-complementary
#8A1A3C #1A8A30 #1A748A
monochromatic
#23070F #571026 #8A1A3C #BD2452 #DC4371

Accessibility & contrast

On white

9.16
#8A1A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A3C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A3C#FFFFFF#000000##FFFFFF
##8A1A3C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#555039
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a3c;
/* rgb */ color: rgb(138, 26, 60);
/* oklch */ color: oklch(42.0% 0.147 9.0);
Tailwind
colors: {
  custom: {
    50: '#b26371',
    500: '#8a1a3c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a3c;
$custom-light: #b26371;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a3c",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 341.786,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.14703,
    "h": 9
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#8A1A3C
secondary
#43BD98
accent
#EBB63D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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