#8A154A#8A154A

#8A154A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 359.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8A154A
RGBrgb(138, 21, 74)
HSLhsl(333, 74%, 31%)
HSVhsv(333, 85%, 54%)
CMYKcmyk(0%, 84.8%, 46.4%, 45.9%)
CIE-LABlab(30.49, 50.37, -0.31)
CIE-LCHlch(30.49, 50.37, 359.65°)
OKLaboklab(42.11% 0.155 -0.0002)
OKLCHoklch(42.11% 0.155 359.9)
XYZxyz(11.9864, 6.4357, 7.0883)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A154A #158A55
analogous
#8A1584 #8A154A #8A1B15
triadic
#8A154A #4A8A15 #154A8A
tetradic
#8A154A #848A15 #158A55 #1B158A
square
#8A154A #848A15 #158A55 #1B158A
split-complementary
#8A154A #158A1B #15848A
monochromatic
#200511 #550D2E #8A154A #BF1D66 #E13985

Accessibility & contrast

On white

9.18
#8A154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A154A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A154A#FFFFFF#000000##FFFFFF
##8A154A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#525047
Tritanopia (blue-blind)
#96002E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a154a;
/* rgb */ color: rgb(138, 21, 74);
/* oklch */ color: oklch(42.1% 0.155 359.9);
Tailwind
colors: {
  custom: {
    50: '#b1627c',
    500: '#8a154a',
    950: '#000000',
  },
}
SCSS
$custom: #8a154a;
$custom-light: #b1627c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a154a",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 332.821,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.15497,
    "h": 359.9
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#8A154A
secondary
#3DBE83
accent
#F09D38
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A154A

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

Preview Lab → · Contrast checker → · Palette generator →

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