#8A1543#8A1543

#8A1543 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.153 H 4.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8A1543
RGBrgb(138, 21, 67)
HSLhsl(336, 74%, 31%)
HSVhsv(336, 85%, 54%)
CMYKcmyk(0%, 84.8%, 51.4%, 45.9%)
CIE-LABlab(30.27, 49.73, 4.03)
CIE-LCHlch(30.27, 49.90, 4.63°)
OKLaboklab(41.88% 0.1524 0.0107)
OKLCHoklch(41.88% 0.153 4)
XYZxyz(11.7636, 6.3465, 5.9147)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1543 #158A5C
analogous
#8A157D #8A1543 #8A2115
triadic
#8A1543 #438A15 #15438A
tetradic
#8A1543 #7D8A15 #158A5C #21158A
square
#8A1543 #7D8A15 #158A5C #21158A
split-complementary
#8A1543 #158A21 #157D8A
monochromatic
#20050F #550D29 #8A1543 #BF1D5D #E1397B

Accessibility & contrast

On white

9.26
#8A1543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1543
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1543#FFFFFF#000000##FFFFFF
##8A15431.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1543;
/* rgb */ color: rgb(138, 21, 67);
/* oklch */ color: oklch(41.9% 0.153 4.0);
Tailwind
colors: {
  custom: {
    50: '#b26276',
    500: '#8a1543',
    950: '#000000',
  },
}
SCSS
$custom: #8a1543;
$custom-light: #b26276;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1543",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 336.41,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.15282,
    "h": 4
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#8A1543
secondary
#3DBE8B
accent
#F0A838
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1543

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

Preview Lab → · Contrast checker → · Palette generator →

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