#56122D#56122D

#56122D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.102 H 1.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#56122D
RGBrgb(86, 18, 45)
HSLhsl(336, 65%, 20%)
HSVhsv(336, 79%, 34%)
CMYKcmyk(0%, 79.1%, 47.7%, 66.3%)
CIE-LABlab(18.37, 33.11, 0.61)
CIE-LCHlch(18.37, 33.12, 1.05°)
OKLaboklab(30.96% 0.1015 0.002)
OKLCHoklch(30.96% 0.102 1.1)
XYZxyz(4.5281, 2.6011, 2.7457)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122D #12563B
analogous
#56124F #56122D #561912
triadic
#56122D #2D5612 #122D56
tetradic
#56122D #4F5612 #12563B #191256
square
#56122D #4F5612 #12563B #191256
split-complementary
#56122D #125619 #124F56
monochromatic
#19050D #230713 #56122D #891D47 #BB2762

Accessibility & contrast

On white

13.81
#56122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#56122D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56122D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122D#FFFFFF#000000##FFFFFF
##56122D1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242E
Deuteranopia (green-blind)
#33322B
Tritanopia (blue-blind)
#5E071D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56122d;
/* rgb */ color: rgb(86, 18, 45);
/* oklch */ color: oklch(31.0% 0.102 1.1);
Tailwind
colors: {
  custom: {
    50: '#8a5765',
    500: '#56122d',
    950: '#000000',
  },
}
SCSS
$custom: #56122d;
$custom-light: #8a5765;
$custom-dark: #000000;
JSON
{
  "hex": "#56122d",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 336.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30956,
    "c": 0.10155,
    "h": 1.1
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#56122D
secondary
#358F6B
accent
#E8A53F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #56122D

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

Preview Lab → · Contrast checker → · Palette generator →

#56122D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva