#8B173F#8B173F

#8B173F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 7.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8B173F
RGBrgb(139, 23, 63)
HSLhsl(339, 72%, 32%)
HSVhsv(339, 83%, 55%)
CMYKcmyk(0%, 83.5%, 54.7%, 45.5%)
CIE-LABlab(30.55, 49.15, 7.12)
CIE-LCHlch(30.55, 49.66, 8.24°)
OKLaboklab(42.09% 0.15 0.0183)
OKLCHoklch(42.09% 0.151 7)
XYZxyz(11.8522, 6.4624, 5.3249)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173F #178B63
analogous
#8B1779 #8B173F #8B2917
triadic
#8B173F #3F8B17 #173F8B
tetradic
#8B173F #798B17 #178B63 #29178B
square
#8B173F #798B17 #178B63 #29178B
split-complementary
#8B173F #178B29 #17798B
monochromatic
#22060F #560E27 #8B173F #C02057 #DF3D75

Accessibility & contrast

On white

9.16
#8B173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B173F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173F#FFFFFF#000000##FFFFFF
##8B173F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373940
Deuteranopia (green-blind)
#55503C
Tritanopia (blue-blind)
#980029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173f;
/* rgb */ color: rgb(139, 23, 63);
/* oklch */ color: oklch(42.1% 0.151 7.0);
Tailwind
colors: {
  custom: {
    50: '#b36273',
    500: '#8b173f',
    950: '#000000',
  },
}
SCSS
$custom: #8b173f;
$custom-light: #b36273;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173f",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 339.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.15111,
    "h": 7
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#8B173F
secondary
#3FBF93
accent
#EEB039
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B173F

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

Preview Lab → · Contrast checker → · Palette generator →

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