#8A1536#8A1536

#8A1536 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 11.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#8A1536
RGBrgb(138, 21, 54)
HSLhsl(343, 74%, 31%)
HSVhsv(343, 85%, 54%)
CMYKcmyk(0%, 84.8%, 60.9%, 45.9%)
CIE-LABlab(29.93, 48.72, 12.23)
CIE-LCHlch(29.93, 50.23, 14.09°)
OKLaboklab(41.52% 0.1473 0.0303)
OKLCHoklch(41.52% 0.15 11.6)
XYZxyz(11.4164, 6.2077, 4.0864)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1536 #158A69
analogous
#8A1570 #8A1536 #8A2E15
triadic
#8A1536 #368A15 #15368A
tetradic
#8A1536 #708A15 #158A69 #2E158A
square
#8A1536 #708A15 #158A69 #2E158A
split-complementary
#8A1536 #158A2E #15708A
monochromatic
#20050C #550D21 #8A1536 #BF1D4B #E13968

Accessibility & contrast

On white

9.37
#8A1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1536
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1536#FFFFFF#000000##FFFFFF
##8A15361.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1536;
/* rgb */ color: rgb(138, 21, 54);
/* oklch */ color: oklch(41.5% 0.150 11.6);
Tailwind
colors: {
  custom: {
    50: '#b3616c',
    500: '#8a1536',
    950: '#000000',
  },
}
SCSS
$custom: #8a1536;
$custom-light: #b3616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1536",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 343.077,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.15037,
    "h": 11.6
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#8A1536
secondary
#3DBE9A
accent
#F0BC38
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1536

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

Preview Lab → · Contrast checker → · Palette generator →

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