#8B174A#8B174A

#8B174A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 0.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8B174A
RGBrgb(139, 23, 74)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 83%, 55%)
CMYKcmyk(0%, 83.5%, 46.8%, 45.5%)
CIE-LABlab(30.87, 50.12, 0.28)
CIE-LCHlch(30.87, 50.12, 0.32°)
OKLaboklab(42.43% 0.1541 0.0013)
OKLCHoklch(42.43% 0.154 0.5)
XYZxyz(12.1909, 6.5978, 7.1088)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B174A #178B58
analogous
#8B1784 #8B174A #8B1E17
triadic
#8B174A #4A8B17 #174A8B
tetradic
#8B174A #848B17 #178B58 #1E178B
square
#8B174A #848B17 #178B58 #1E178B
split-complementary
#8B174A #178B1E #17848B
monochromatic
#220612 #560E2E #8B174A #C02066 #DF3D84

Accessibility & contrast

On white

9.05
#8B174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B174A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B174A#FFFFFF#000000##FFFFFF
##8B174A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4B
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#97002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b174a;
/* rgb */ color: rgb(139, 23, 74);
/* oklch */ color: oklch(42.4% 0.154 0.5);
Tailwind
colors: {
  custom: {
    50: '#b2637c',
    500: '#8b174a',
    950: '#000000',
  },
}
SCSS
$custom: #8b174a;
$custom-light: #b2637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b174a",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 333.621,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.1541,
    "h": 0.5
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#8B174A
secondary
#3FBF87
accent
#EE9F39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B174A

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

Preview Lab → · Contrast checker → · Palette generator →

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