#56182F#56182F

#56182F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.094 H 1.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#56182F
RGBrgb(86, 24, 47)
HSLhsl(338, 56%, 22%)
HSVhsv(338, 72%, 34%)
CMYKcmyk(0%, 72.1%, 45.3%, 66.3%)
CIE-LABlab(19.38, 30.73, 0.66)
CIE-LCHlch(19.38, 30.74, 1.23°)
OKLaboklab(31.73% 0.094 0.0021)
OKLCHoklch(31.73% 0.094 1.3)
XYZxyz(4.6778, 2.8375, 2.9901)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56182F #18563F
analogous
#56184E #56182F #562018
triadic
#56182F #2F5618 #182F56
tetradic
#56182F #4E5618 #18563F #201856
square
#56182F #4E5618 #18563F #201856
split-complementary
#56182F #185620 #184E56
monochromatic
#18070D #260B15 #56182F #862549 #B63363

Accessibility & contrast

On white

13.40
#56182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#56182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56182F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56182F#FFFFFF#000000##FFFFFF
##56182F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56182f;
/* rgb */ color: rgb(86, 24, 47);
/* oklch */ color: oklch(31.7% 0.094 1.3);
Tailwind
colors: {
  custom: {
    50: '#895a67',
    500: '#56182f',
    950: '#000000',
  },
}
SCSS
$custom: #56182f;
$custom-light: #895a67;
$custom-dark: #000000;
JSON
{
  "hex": "#56182f",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 337.742,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31725,
    "c": 0.09402,
    "h": 1.3
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#56182F
secondary
#3D8D6F
accent
#E0A748
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #56182F

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

Preview Lab → · Contrast checker → · Palette generator →

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