#56172F#56172F

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

Color values

HEX#56172F
RGBrgb(86, 23, 47)
HSLhsl(337, 58%, 21%)
HSVhsv(337, 73%, 34%)
CMYKcmyk(0%, 73.3%, 45.3%, 66.3%)
CIE-LABlab(19.21, 31.19, 0.42)
CIE-LCHlch(19.21, 31.20, 0.76°)
OKLaboklab(31.6% 0.0955 0.0014)
OKLCHoklch(31.6% 0.095 0.9)
XYZxyz(4.6576, 2.7970, 2.9834)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56172F #17563E
analogous
#56174F #56172F #561F17
triadic
#56172F #2F5617 #172F56
tetradic
#56172F #4F5617 #17563E #1F1756
square
#56172F #4F5617 #17563E #1F1756
split-complementary
#56172F #17561F #174F56
monochromatic
#18060D #260A15 #56172F #862449 #B73164

Accessibility & contrast

On white

13.47
#56172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56172F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56172F#FFFFFF#000000##FFFFFF
##56172F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#35332E
Tritanopia (blue-blind)
#5E0F21
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #56172f;
/* rgb */ color: rgb(86, 23, 47);
/* oklch */ color: oklch(31.6% 0.095 0.9);
Tailwind
colors: {
  custom: {
    50: '#895967',
    500: '#56172f',
    950: '#000000',
  },
}
SCSS
$custom: #56172f;
$custom-light: #895967;
$custom-dark: #000000;
JSON
{
  "hex": "#56172f",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 337.143,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.316,
    "c": 0.09548,
    "h": 0.9
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#56172F
secondary
#3C8D6E
accent
#E1A647
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #56172F

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

Preview Lab → · Contrast checker → · Palette generator →

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