#8A1A37#8A1A37

#8A1A37 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 12.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8A1A37
RGBrgb(138, 26, 55)
HSLhsl(344, 68%, 32%)
HSVhsv(344, 81%, 54%)
CMYKcmyk(0%, 81.2%, 60.1%, 45.9%)
CIE-LABlab(30.45, 47.39, 12.26)
CIE-LCHlch(30.45, 48.95, 14.51°)
OKLaboklab(41.91% 0.1432 0.0305)
OKLCHoklch(41.91% 0.146 12)
XYZxyz(11.5414, 6.4196, 4.2451)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A37 #1A8A6D
analogous
#8A1A6F #8A1A37 #8A351A
triadic
#8A1A37 #378A1A #1A378A
tetradic
#8A1A37 #6F8A1A #1A8A6D #351A8A
square
#8A1A37 #6F8A1A #1A8A6D #351A8A
split-complementary
#8A1A37 #1A8A35 #1A6F8A
monochromatic
#23070E #571022 #8A1A37 #BD244C #DC436A

Accessibility & contrast

On white

9.20
#8A1A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A37
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A37#FFFFFF#000000##FFFFFF
##8A1A371.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3937
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a37;
/* rgb */ color: rgb(138, 26, 55);
/* oklch */ color: oklch(41.9% 0.146 12.0);
Tailwind
colors: {
  custom: {
    50: '#b3636d',
    500: '#8a1a37',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a37;
$custom-light: #b3636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a37",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 344.464,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41911,
    "c": 0.14636,
    "h": 12
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#8A1A37
secondary
#43BD9D
accent
#EBBE3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A37

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

Preview Lab → · Contrast checker → · Palette generator →

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