#8A1539#8A1539

#8A1539 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.151 H 9.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#8A1539
RGBrgb(138, 21, 57)
HSLhsl(342, 74%, 31%)
HSVhsv(342, 85%, 54%)
CMYKcmyk(0%, 84.8%, 58.7%, 45.9%)
CIE-LABlab(30.00, 48.94, 10.33)
CIE-LCHlch(30.00, 50.01, 11.91°)
OKLaboklab(41.6% 0.1485 0.0259)
OKLCHoklch(41.6% 0.151 9.9)
XYZxyz(11.4891, 6.2367, 4.4689)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1539 #158A66
analogous
#8A1573 #8A1539 #8A2B15
triadic
#8A1539 #398A15 #15398A
tetradic
#8A1539 #738A15 #158A66 #2B158A
square
#8A1539 #738A15 #158A66 #2B158A
split-complementary
#8A1539 #158A2B #15738A
monochromatic
#20050D #550D23 #8A1539 #BF1D4F #E1396C

Accessibility & contrast

On white

9.35
#8A1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1539
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1539#FFFFFF#000000##FFFFFF
##8A15391.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#970025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1539;
/* rgb */ color: rgb(138, 21, 57);
/* oklch */ color: oklch(41.6% 0.151 9.9);
Tailwind
colors: {
  custom: {
    50: '#b3616f',
    500: '#8a1539',
    950: '#000000',
  },
}
SCSS
$custom: #8a1539;
$custom-light: #b3616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1539",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 341.538,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.15075,
    "h": 9.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#8A1539
secondary
#3DBE96
accent
#F0B738
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1539

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

Preview Lab → · Contrast checker → · Palette generator →

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