#8A1A39#8A1A39

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

Color values

HEX#8A1A39
RGBrgb(138, 26, 57)
HSLhsl(343, 68%, 32%)
HSVhsv(343, 81%, 54%)
CMYKcmyk(0%, 81.2%, 58.7%, 45.9%)
CIE-LABlab(30.49, 47.54, 11.00)
CIE-LCHlch(30.49, 48.79, 13.03°)
OKLaboklab(41.96% 0.144 0.0275)
OKLCHoklch(41.96% 0.147 10.8)
XYZxyz(11.5903, 6.4392, 4.5027)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A39 #1A8A6B
analogous
#8A1A71 #8A1A39 #8A331A
triadic
#8A1A39 #398A1A #1A398A
tetradic
#8A1A39 #718A1A #1A8A6B #331A8A
square
#8A1A39 #718A1A #1A8A6B #331A8A
split-complementary
#8A1A39 #1A8A33 #1A718A
monochromatic
#23070E #571024 #8A1A39 #BD244E #DC436D

Accessibility & contrast

On white

9.18
#8A1A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A39
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A39#FFFFFF#000000##FFFFFF
##8A1A391.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393939
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a39;
/* rgb */ color: rgb(138, 26, 57);
/* oklch */ color: oklch(42.0% 0.147 10.8);
Tailwind
colors: {
  custom: {
    50: '#b2636f',
    500: '#8a1a39',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a39;
$custom-light: #b2636f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a39",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 343.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.14659,
    "h": 10.8
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#8A1A39
secondary
#43BD9B
accent
#EBBB3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A39

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

Preview Lab → · Contrast checker → · Palette generator →

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