#8A1D39#8A1D39

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

Color values

HEX#8A1D39
RGBrgb(138, 29, 57)
HSLhsl(345, 65%, 33%)
HSVhsv(345, 79%, 54%)
CMYKcmyk(0%, 79%, 58.7%, 45.9%)
CIE-LABlab(30.83, 46.59, 11.46)
CIE-LCHlch(30.83, 47.98, 13.82°)
OKLaboklab(42.21% 0.1409 0.0286)
OKLCHoklch(42.21% 0.144 11.5)
XYZxyz(11.6603, 6.5791, 4.5260)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D39 #1D8A6E
analogous
#8A1D6F #8A1D39 #8A371D
triadic
#8A1D39 #398A1D #1D398A
tetradic
#8A1D39 #6F8A1D #1D8A6E #371D8A
square
#8A1D39 #6F8A1D #1D8A6E #371D8A
split-complementary
#8A1D39 #1D8A37 #1D6F8A
monochromatic
#25080F #571224 #8A1D39 #BD284E #D9496E

Accessibility & contrast

On white

9.07
#8A1D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D39
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D39#FFFFFF#000000##FFFFFF
##8A1D391.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d39;
/* rgb */ color: rgb(138, 29, 57);
/* oklch */ color: oklch(42.2% 0.144 11.5);
Tailwind
colors: {
  custom: {
    50: '#b2646f',
    500: '#8a1d39',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d39;
$custom-light: #b2646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d39",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 344.587,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.14382,
    "h": 11.5
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#8A1D39
secondary
#48BB9D
accent
#E8BD40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1D39

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

Preview Lab → · Contrast checker → · Palette generator →

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