#8A1541#8A1541

#8A1541 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 5.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1541
RGBrgb(138, 21, 65)
HSLhsl(337, 74%, 31%)
HSVhsv(337, 85%, 54%)
CMYKcmyk(0%, 84.8%, 52.9%, 45.9%)
CIE-LABlab(30.21, 49.56, 5.28)
CIE-LCHlch(30.21, 49.84, 6.08°)
OKLaboklab(41.82% 0.1517 0.0138)
OKLCHoklch(41.82% 0.152 5.2)
XYZxyz(11.7046, 6.3229, 5.6041)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1541 #158A5E
analogous
#8A157B #8A1541 #8A2315
triadic
#8A1541 #418A15 #15418A
tetradic
#8A1541 #7B8A15 #158A5E #23158A
square
#8A1541 #7B8A15 #158A5E #23158A
split-complementary
#8A1541 #158A23 #157B8A
monochromatic
#20050F #550D28 #8A1541 #BF1D5A #E13978

Accessibility & contrast

On white

9.27
#8A1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1541
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1541#FFFFFF#000000##FFFFFF
##8A15411.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353942
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1541;
/* rgb */ color: rgb(138, 21, 65);
/* oklch */ color: oklch(41.8% 0.152 5.2);
Tailwind
colors: {
  custom: {
    50: '#b26275',
    500: '#8a1541',
    950: '#000000',
  },
}
SCSS
$custom: #8a1541;
$custom-light: #b26275;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1541",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 337.436,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.15231,
    "h": 5.2
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#8A1541
secondary
#3DBE8D
accent
#F0AB38
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1541

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

Preview Lab → · Contrast checker → · Palette generator →

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