#56122A#56122A

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

Color values

HEX#56122A
RGBrgb(86, 18, 42)
HSLhsl(339, 65%, 20%)
HSVhsv(339, 79%, 34%)
CMYKcmyk(0%, 79.1%, 51.2%, 66.3%)
CIE-LABlab(18.27, 32.79, 2.61)
CIE-LCHlch(18.27, 32.89, 4.55°)
OKLaboklab(30.85% 0.1003 0.007)
OKLCHoklch(30.85% 0.101 4)
XYZxyz(4.4723, 2.5788, 2.4523)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122A #12563E
analogous
#56124C #56122A #561C12
triadic
#56122A #2A5612 #122A56
tetradic
#56122A #4C5612 #12563E #1C1256
square
#56122A #4C5612 #12563E #1C1256
split-complementary
#56122A #12561C #124C56
monochromatic
#19050C #230711 #56122A #891D43 #BB275B

Accessibility & contrast

On white

13.86
#56122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56122A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122A#FFFFFF#000000##FFFFFF
##56122A1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#343128
Tritanopia (blue-blind)
#5E061C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56122a;
/* rgb */ color: rgb(86, 18, 42);
/* oklch */ color: oklch(30.9% 0.101 4.0);
Tailwind
colors: {
  custom: {
    50: '#8a5763',
    500: '#56122a',
    950: '#000000',
  },
}
SCSS
$custom: #56122a;
$custom-light: #8a5763;
$custom-dark: #000000;
JSON
{
  "hex": "#56122a",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 338.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30851,
    "c": 0.10057,
    "h": 4
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#56122A
secondary
#358F6F
accent
#E8AD3F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #56122A

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

Preview Lab → · Contrast checker → · Palette generator →

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