#8A1A3B#8A1A3B

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

Color values

HEX#8A1A3B
RGBrgb(138, 26, 59)
HSLhsl(342, 68%, 32%)
HSVhsv(342, 81%, 54%)
CMYKcmyk(0%, 81.2%, 57.2%, 45.9%)
CIE-LABlab(30.54, 47.69, 9.74)
CIE-LCHlch(30.54, 48.67, 11.54°)
OKLaboklab(42.01% 0.1448 0.0246)
OKLCHoklch(42.01% 0.147 9.6)
XYZxyz(11.6412, 6.4595, 4.7707)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A3B #1A8A69
analogous
#8A1A73 #8A1A3B #8A311A
triadic
#8A1A3B #3B8A1A #1A3B8A
tetradic
#8A1A3B #738A1A #1A8A69 #311A8A
square
#8A1A3B #738A1A #1A8A69 #311A8A
split-complementary
#8A1A3B #1A8A31 #1A738A
monochromatic
#23070F #571025 #8A1A3B #BD2451 #DC4370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1A3B#FFFFFF#000000##FFFFFF
##8A1A3B1.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)
#39393C
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a3b;
/* rgb */ color: rgb(138, 26, 59);
/* oklch */ color: oklch(42.0% 0.147 9.6);
Tailwind
colors: {
  custom: {
    50: '#b26370',
    500: '#8a1a3b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a3b;
$custom-light: #b26370;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a3b",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 342.321,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.14687,
    "h": 9.6
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#8A1A3B
secondary
#43BD99
accent
#EBB83D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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