#56122C#56122C

#56122C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.101 H 2.1°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#56122C
RGBrgb(86, 18, 44)
HSLhsl(337, 65%, 20%)
HSVhsv(337, 79%, 34%)
CMYKcmyk(0%, 79.1%, 48.8%, 66.3%)
CIE-LABlab(18.34, 33.00, 1.27)
CIE-LCHlch(18.34, 33.03, 2.21°)
OKLaboklab(30.92% 0.1011 0.0037)
OKLCHoklch(30.92% 0.101 2.1)
XYZxyz(4.5090, 2.5935, 2.6455)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122C #12563C
analogous
#56124E #56122C #561A12
triadic
#56122C #2C5612 #122C56
tetradic
#56122C #4E5612 #12563C #1A1256
square
#56122C #4E5612 #12563C #1A1256
split-complementary
#56122C #12561A #124E56
monochromatic
#19050D #230712 #56122C #891D46 #BB2760

Accessibility & contrast

On white

13.83
#56122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56122C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122C#FFFFFF#000000##FFFFFF
##56122C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56122c;
/* rgb */ color: rgb(86, 18, 44);
/* oklch */ color: oklch(30.9% 0.101 2.1);
Tailwind
colors: {
  custom: {
    50: '#8a5764',
    500: '#56122c',
    950: '#000000',
  },
}
SCSS
$custom: #56122c;
$custom-light: #8a5764;
$custom-dark: #000000;
JSON
{
  "hex": "#56122c",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 337.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3092,
    "c": 0.1012,
    "h": 2.1
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#56122C
secondary
#358F6C
accent
#E8A83F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #56122C

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

Preview Lab → · Contrast checker → · Palette generator →

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