#8A1B3A#8A1B3A

#8A1B3A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.146 H 10.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8A1B3A
RGBrgb(138, 27, 58)
HSLhsl(343, 67%, 32%)
HSVhsv(343, 80%, 54%)
CMYKcmyk(0%, 80.4%, 58%, 45.9%)
CIE-LABlab(30.63, 47.31, 10.52)
CIE-LCHlch(30.63, 48.46, 12.54°)
OKLaboklab(42.07% 0.1434 0.0264)
OKLCHoklch(42.07% 0.146 10.4)
XYZxyz(11.6380, 6.4943, 4.6429)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B3A #1B8A6B
analogous
#8A1B72 #8A1B3A #8A331B
triadic
#8A1B3A #3A8A1B #1B3A8A
tetradic
#8A1B3A #728A1B #1B8A6B #331B8A
square
#8A1B3A #728A1B #1B8A6B #331B8A
split-complementary
#8A1B3A #1B8A33 #1B728A
monochromatic
#24070F #571124 #8A1B3A #BD2550 #DB456F

Accessibility & contrast

On white

9.14
#8A1B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B3A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B3A#FFFFFF#000000##FFFFFF
##8A1B3A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b3a;
/* rgb */ color: rgb(138, 27, 58);
/* oklch */ color: oklch(42.1% 0.146 10.4);
Tailwind
colors: {
  custom: {
    50: '#b2636f',
    500: '#8a1b3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b3a;
$custom-light: #b2636f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b3a",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 343.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.14582,
    "h": 10.4
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#8A1B3A
secondary
#45BC9B
accent
#EABA3E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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