#56172E#56172E

#56172E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.095 H 1.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#56172E
RGBrgb(86, 23, 46)
HSLhsl(338, 58%, 21%)
HSVhsv(338, 73%, 34%)
CMYKcmyk(0%, 73.3%, 46.5%, 66.3%)
CIE-LABlab(19.18, 31.07, 1.07)
CIE-LCHlch(19.18, 31.09, 1.98°)
OKLaboklab(31.56% 0.0951 0.0031)
OKLCHoklch(31.56% 0.095 1.9)
XYZxyz(4.6376, 2.7891, 2.8784)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56172E #17563F
analogous
#56174E #56172E #562017
triadic
#56172E #2E5617 #172E56
tetradic
#56172E #4E5617 #17563F #201756
square
#56172E #4E5617 #17563F #201756
split-complementary
#56172E #175620 #174E56
monochromatic
#18060D #260A14 #56172E #862448 #B73162

Accessibility & contrast

On white

13.48
#56172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#56172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56172E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56172E#FFFFFF#000000##FFFFFF
##56172E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#35332D
Tritanopia (blue-blind)
#5E0F20
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #56172e;
/* rgb */ color: rgb(86, 23, 46);
/* oklch */ color: oklch(31.6% 0.095 1.9);
Tailwind
colors: {
  custom: {
    50: '#895966',
    500: '#56172e',
    950: '#000000',
  },
}
SCSS
$custom: #56172e;
$custom-light: #895966;
$custom-dark: #000000;
JSON
{
  "hex": "#56172e",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 338.095,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31564,
    "c": 0.09513,
    "h": 1.9
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#56172E
secondary
#3C8D6F
accent
#E1A947
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #56172E

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

Preview Lab → · Contrast checker → · Palette generator →

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