#8A1336#8A1336

#8A1336 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 11.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#8A1336
RGBrgb(138, 19, 54)
HSLhsl(342, 76%, 31%)
HSVhsv(342, 86%, 54%)
CMYKcmyk(0%, 86.2%, 60.9%, 45.9%)
CIE-LABlab(29.76, 49.22, 11.99)
CIE-LCHlch(29.76, 50.66, 13.69°)
OKLaboklab(41.39% 0.1489 0.0297)
OKLCHoklch(41.39% 0.152 11.3)
XYZxyz(11.3811, 6.1371, 4.0746)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1336 #138A67
analogous
#8A1371 #8A1336 #8A2B13
triadic
#8A1336 #368A13 #13368A
tetradic
#8A1336 #718A13 #138A67 #2B138A
square
#8A1336 #718A13 #138A67 #2B138A
split-complementary
#8A1336 #138A2B #13718A
monochromatic
#1E040C #540C21 #8A1336 #C01A4B #E33468

Accessibility & contrast

On white

9.43
#8A1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1336
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1336#FFFFFF#000000##FFFFFF
##8A13361.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373736
Deuteranopia (green-blind)
#554F33
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1336;
/* rgb */ color: rgb(138, 19, 54);
/* oklch */ color: oklch(41.4% 0.152 11.3);
Tailwind
colors: {
  custom: {
    50: '#b3616c',
    500: '#8a1336',
    950: '#000000',
  },
}
SCSS
$custom: #8a1336;
$custom-light: #b3616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1336",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 342.353,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.15184,
    "h": 11.3
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#8A1336
secondary
#3ABE98
accent
#F2BB35
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1336

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

Preview Lab → · Contrast checker → · Palette generator →

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