#8A1533#8A1533

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

Color values

HEX#8A1533
RGBrgb(138, 21, 51)
HSLhsl(345, 74%, 31%)
HSVhsv(345, 85%, 54%)
CMYKcmyk(0%, 84.8%, 63%, 45.9%)
CIE-LABlab(29.86, 48.52, 14.14)
CIE-LCHlch(29.86, 50.54, 16.25°)
OKLaboklab(41.45% 0.146 0.0346)
OKLCHoklch(41.45% 0.15 13.3)
XYZxyz(11.3481, 6.1804, 3.7267)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1533 #158A6C
analogous
#8A156D #8A1533 #8A3115
triadic
#8A1533 #338A15 #15338A
tetradic
#8A1533 #6D8A15 #158A6C #31158A
square
#8A1533 #6D8A15 #158A6C #31158A
split-complementary
#8A1533 #158A31 #156D8A
monochromatic
#20050C #550D1F #8A1533 #BF1D47 #E13964

Accessibility & contrast

On white

9.39
#8A1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1533
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1533#FFFFFF#000000##FFFFFF
##8A15331.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1533;
/* rgb */ color: rgb(138, 21, 51);
/* oklch */ color: oklch(41.5% 0.150 13.3);
Tailwind
colors: {
  custom: {
    50: '#b3616a',
    500: '#8a1533',
    950: '#000000',
  },
}
SCSS
$custom: #8a1533;
$custom-light: #b3616a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1533",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 344.615,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.15008,
    "h": 13.3
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#8A1533
secondary
#3DBE9D
accent
#F0C138
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1533

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

Preview Lab → · Contrast checker → · Palette generator →

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