#8B173B#8B173B

#8B173B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.150 H 9.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8B173B
RGBrgb(139, 23, 59)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 83%, 55%)
CMYKcmyk(0%, 83.5%, 57.6%, 45.5%)
CIE-LABlab(30.45, 48.84, 9.64)
CIE-LCHlch(30.45, 49.78, 11.16°)
OKLaboklab(41.98% 0.1484 0.0243)
OKLCHoklch(41.98% 0.15 9.3)
XYZxyz(11.7444, 6.4193, 4.7575)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173B #178B67
analogous
#8B1775 #8B173B #8B2D17
triadic
#8B173B #3B8B17 #173B8B
tetradic
#8B173B #758B17 #178B67 #2D178B
square
#8B173B #758B17 #178B67 #2D178B
split-complementary
#8B173B #178B2D #17758B
monochromatic
#22060E #560E25 #8B173B #C02051 #DF3D70

Accessibility & contrast

On white

9.20
#8B173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8B173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B173B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173B#FFFFFF#000000##FFFFFF
##8B173B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393C
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173b;
/* rgb */ color: rgb(139, 23, 59);
/* oklch */ color: oklch(42.0% 0.150 9.3);
Tailwind
colors: {
  custom: {
    50: '#b36270',
    500: '#8b173b',
    950: '#000000',
  },
}
SCSS
$custom: #8b173b;
$custom-light: #b36270;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173b",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 341.379,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.15037,
    "h": 9.3
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#8B173B
secondary
#3FBF97
accent
#EEB639
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B173B

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

Preview Lab → · Contrast checker → · Palette generator →

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