#8A1936#8A1936

#8A1936 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.147 H 12.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#8A1936
RGBrgb(138, 25, 54)
HSLhsl(345, 69%, 32%)
HSVhsv(345, 82%, 54%)
CMYKcmyk(0%, 81.9%, 60.9%, 45.9%)
CIE-LABlab(30.32, 47.62, 12.75)
CIE-LCHlch(30.32, 49.30, 14.99°)
OKLaboklab(41.81% 0.1437 0.0316)
OKLCHoklch(41.81% 0.147 12.4)
XYZxyz(11.4959, 6.3666, 4.1129)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1936 #198A6D
analogous
#8A196F #8A1936 #8A3519
triadic
#8A1936 #368A19 #19368A
tetradic
#8A1936 #6F8A19 #198A6D #35198A
square
#8A1936 #6F8A19 #198A6D #35198A
split-complementary
#8A1936 #198A35 #196F8A
monochromatic
#22060D #561022 #8A1936 #BE224A #DD4169

Accessibility & contrast

On white

9.24
#8A1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1936
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1936#FFFFFF#000000##FFFFFF
##8A19361.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393936
Deuteranopia (green-blind)
#565033
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1936;
/* rgb */ color: rgb(138, 25, 54);
/* oklch */ color: oklch(41.8% 0.147 12.4);
Tailwind
colors: {
  custom: {
    50: '#b3636c',
    500: '#8a1936',
    950: '#000000',
  },
}
SCSS
$custom: #8a1936;
$custom-light: #b3636c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1936",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 344.602,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.14713,
    "h": 12.4
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#8A1936
secondary
#42BD9D
accent
#ECBF3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1936

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

Preview Lab → · Contrast checker → · Palette generator →

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