#56162F#56162F

#56162F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.097 H 0.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#56162F
RGBrgb(86, 22, 47)
HSLhsl(337, 59%, 21%)
HSVhsv(337, 74%, 34%)
CMYKcmyk(0%, 74.4%, 45.3%, 66.3%)
CIE-LABlab(19.05, 31.65, 0.18)
CIE-LCHlch(19.05, 31.65, 0.32°)
OKLaboklab(31.48% 0.0969 0.0008)
OKLCHoklch(31.48% 0.097 0.5)
XYZxyz(4.6381, 2.7581, 2.9769)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56162F #16563D
analogous
#56164F #56162F #561D16
triadic
#56162F #2F5616 #162F56
tetradic
#56162F #4F5616 #16563D #1D1656
square
#56162F #4F5616 #16563D #1D1656
split-complementary
#56162F #16561D #164F56
monochromatic
#18060D #250A14 #56162F #87224A #B72F64

Accessibility & contrast

On white

13.54
#56162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#56162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56162F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56162F#FFFFFF#000000##FFFFFF
##56162F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#34332E
Tritanopia (blue-blind)
#5E0E20
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #56162f;
/* rgb */ color: rgb(86, 22, 47);
/* oklch */ color: oklch(31.5% 0.097 0.5);
Tailwind
colors: {
  custom: {
    50: '#895967',
    500: '#56162f',
    950: '#000000',
  },
}
SCSS
$custom: #56162f;
$custom-light: #895967;
$custom-dark: #000000;
JSON
{
  "hex": "#56162f",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 336.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.09691,
    "h": 0.5
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#56162F
secondary
#3A8D6D
accent
#E2A545
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #56162F

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

Preview Lab → · Contrast checker → · Palette generator →

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