#8A1545#8A1545

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

Color values

HEX#8A1545
RGBrgb(138, 21, 69)
HSLhsl(335, 74%, 31%)
HSVhsv(335, 85%, 54%)
CMYKcmyk(0%, 84.8%, 50%, 45.9%)
CIE-LABlab(30.33, 49.91, 2.79)
CIE-LCHlch(30.33, 49.99, 3.19°)
OKLaboklab(41.95% 0.1532 0.0076)
OKLCHoklch(41.95% 0.153 2.9)
XYZxyz(11.8246, 6.3709, 6.2361)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1545 #158A5A
analogous
#8A157F #8A1545 #8A2015
triadic
#8A1545 #458A15 #15458A
tetradic
#8A1545 #7F8A15 #158A5A #20158A
square
#8A1545 #7F8A15 #158A5A #20158A
split-complementary
#8A1545 #158A20 #157F8A
monochromatic
#200510 #550D2A #8A1545 #BF1D60 #E1397E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1545#FFFFFF#000000##FFFFFF
##8A15451.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)
#343946
Deuteranopia (green-blind)
#534F42
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1545;
/* rgb */ color: rgb(138, 21, 69);
/* oklch */ color: oklch(41.9% 0.153 2.9);
Tailwind
colors: {
  custom: {
    50: '#b26278',
    500: '#8a1545',
    950: '#000000',
  },
}
SCSS
$custom: #8a1545;
$custom-light: #b26278;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1545",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 335.385,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.15337,
    "h": 2.9
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#8A1545
secondary
#3DBE89
accent
#F0A438
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1545

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

Preview Lab → · Contrast checker → · Palette generator →

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