#56172B#56172B

#56172B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.094 H 5.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#56172B
RGBrgb(86, 23, 43)
HSLhsl(341, 58%, 21%)
HSVhsv(341, 73%, 34%)
CMYKcmyk(0%, 73.3%, 50%, 66.3%)
CIE-LABlab(19.08, 30.74, 3.06)
CIE-LCHlch(19.08, 30.89, 5.68°)
OKLaboklab(31.46% 0.0938 0.0082)
OKLCHoklch(31.46% 0.094 5)
XYZxyz(4.5805, 2.7662, 2.5778)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56172B #175642
analogous
#56174B #56172B #562317
triadic
#56172B #2B5617 #172B56
tetradic
#56172B #4B5617 #175642 #231756
square
#56172B #4B5617 #175642 #231756
split-complementary
#56172B #175623 #174B56
monochromatic
#18060C #260A13 #56172B #862443 #B7315B

Accessibility & contrast

On white

13.52
#56172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#56172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56172B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56172B#FFFFFF#000000##FFFFFF
##56172B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262B
Deuteranopia (green-blind)
#35332A
Tritanopia (blue-blind)
#5E0E1F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #56172b;
/* rgb */ color: rgb(86, 23, 43);
/* oklch */ color: oklch(31.5% 0.094 5.0);
Tailwind
colors: {
  custom: {
    50: '#895964',
    500: '#56172b',
    950: '#000000',
  },
}
SCSS
$custom: #56172b;
$custom-light: #895964;
$custom-dark: #000000;
JSON
{
  "hex": "#56172b",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 340.952,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31461,
    "c": 0.09419,
    "h": 5
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#56172B
secondary
#3C8D73
accent
#E1B047
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #56172B

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

Preview Lab → · Contrast checker → · Palette generator →

#56172B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva