#56172C#56172C

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

Color values

HEX#56172C
RGBrgb(86, 23, 44)
HSLhsl(340, 58%, 21%)
HSVhsv(340, 73%, 34%)
CMYKcmyk(0%, 73.3%, 48.8%, 66.3%)
CIE-LABlab(19.11, 30.85, 2.39)
CIE-LCHlch(19.11, 30.94, 4.44°)
OKLaboklab(31.5% 0.0943 0.0065)
OKLCHoklch(31.5% 0.094 3.9)
XYZxyz(4.5991, 2.7736, 2.6756)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56172C #175641
analogous
#56174C #56172C #562217
triadic
#56172C #2C5617 #172C56
tetradic
#56172C #4C5617 #175641 #221756
square
#56172C #4C5617 #175641 #221756
split-complementary
#56172C #175622 #174C56
monochromatic
#18060C #260A13 #56172C #862445 #B7315D

Accessibility & contrast

On white

13.51
#56172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56172C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56172C#FFFFFF#000000##FFFFFF
##56172C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56172c;
/* rgb */ color: rgb(86, 23, 44);
/* oklch */ color: oklch(31.5% 0.094 3.9);
Tailwind
colors: {
  custom: {
    50: '#895964',
    500: '#56172c',
    950: '#000000',
  },
}
SCSS
$custom: #56172c;
$custom-light: #895964;
$custom-dark: #000000;
JSON
{
  "hex": "#56172c",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 340,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31495,
    "c": 0.09448,
    "h": 3.9
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#56172C
secondary
#3C8D72
accent
#E1AE47
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #56172C

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

Preview Lab → · Contrast checker → · Palette generator →

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