#8A1D3A#8A1D3A

#8A1D3A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.144 H 10.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8A1D3A
RGBrgb(138, 29, 58)
HSLhsl(344, 65%, 33%)
HSVhsv(344, 79%, 54%)
CMYKcmyk(0%, 79%, 58%, 45.9%)
CIE-LABlab(30.85, 46.67, 10.83)
CIE-LCHlch(30.85, 47.91, 13.06°)
OKLaboklab(42.23% 0.1414 0.0272)
OKLCHoklch(42.23% 0.144 10.9)
XYZxyz(11.6855, 6.5892, 4.6587)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D3A #1D8A6D
analogous
#8A1D70 #8A1D3A #8A371D
triadic
#8A1D3A #3A8A1D #1D3A8A
tetradic
#8A1D3A #708A1D #1D8A6D #371D8A
square
#8A1D3A #708A1D #1D8A6D #371D8A
split-complementary
#8A1D3A #1D8A37 #1D708A
monochromatic
#25080F #571225 #8A1D3A #BD284F #D9496F

Accessibility & contrast

On white

9.06
#8A1D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D3A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D3A#FFFFFF#000000##FFFFFF
##8A1D3A1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3A
Deuteranopia (green-blind)
#575137
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d3a;
/* rgb */ color: rgb(138, 29, 58);
/* oklch */ color: oklch(42.2% 0.144 10.9);
Tailwind
colors: {
  custom: {
    50: '#b2646f',
    500: '#8a1d3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d3a;
$custom-light: #b2646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d3a",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 344.037,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.14394,
    "h": 10.9
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#8A1D3A
secondary
#48BB9C
accent
#E8BB40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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