#8A1544#8A1544

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

Color values

HEX#8A1544
RGBrgb(138, 21, 68)
HSLhsl(336, 74%, 31%)
HSVhsv(336, 85%, 54%)
CMYKcmyk(0%, 84.8%, 50.7%, 45.9%)
CIE-LABlab(30.30, 49.82, 3.41)
CIE-LCHlch(30.30, 49.94, 3.91°)
OKLaboklab(41.91% 0.1528 0.0092)
OKLCHoklch(41.91% 0.153 3.4)
XYZxyz(11.7938, 6.3586, 6.0740)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1544 #158A5B
analogous
#8A157E #8A1544 #8A2015
triadic
#8A1544 #448A15 #15448A
tetradic
#8A1544 #7E8A15 #158A5B #20158A
square
#8A1544 #7E8A15 #158A5B #20158A
split-complementary
#8A1544 #158A20 #157E8A
monochromatic
#200510 #550D2A #8A1544 #BF1D5E #E1397C

Accessibility & contrast

On white

9.25
#8A1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1544
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1544#FFFFFF#000000##FFFFFF
##8A15441.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343945
Deuteranopia (green-blind)
#534F41
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1544;
/* rgb */ color: rgb(138, 21, 68);
/* oklch */ color: oklch(41.9% 0.153 3.4);
Tailwind
colors: {
  custom: {
    50: '#b26277',
    500: '#8a1544',
    950: '#000000',
  },
}
SCSS
$custom: #8a1544;
$custom-light: #b26277;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1544",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 335.897,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.15309,
    "h": 3.4
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#8A1544
secondary
#3DBE8A
accent
#F0A638
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1544

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

Preview Lab → · Contrast checker → · Palette generator →

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