#56122B#56122B

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

Color values

HEX#56122B
RGBrgb(86, 18, 43)
HSLhsl(338, 65%, 20%)
HSVhsv(338, 79%, 34%)
CMYKcmyk(0%, 79.1%, 50%, 66.3%)
CIE-LABlab(18.30, 32.89, 1.94)
CIE-LCHlch(18.30, 32.95, 3.38°)
OKLaboklab(30.89% 0.1007 0.0053)
OKLCHoklch(30.89% 0.101 3)
XYZxyz(4.4905, 2.5861, 2.5477)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122B #12563D
analogous
#56124D #56122B #561B12
triadic
#56122B #2B5612 #122B56
tetradic
#56122B #4D5612 #12563D #1B1256
square
#56122B #4D5612 #12563D #1B1256
split-complementary
#56122B #12561B #124D56
monochromatic
#19050D #230712 #56122B #891D44 #BB275E

Accessibility & contrast

On white

13.84
#56122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56122B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122B#FFFFFF#000000##FFFFFF
##56122B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#343129
Tritanopia (blue-blind)
#5E061D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56122b;
/* rgb */ color: rgb(86, 18, 43);
/* oklch */ color: oklch(30.9% 0.101 3.0);
Tailwind
colors: {
  custom: {
    50: '#8a5764',
    500: '#56122b',
    950: '#000000',
  },
}
SCSS
$custom: #56122b;
$custom-light: #8a5764;
$custom-dark: #000000;
JSON
{
  "hex": "#56122b",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 337.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30885,
    "c": 0.10087,
    "h": 3
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#56122B
secondary
#358F6E
accent
#E8AA3F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #56122B

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

Preview Lab → · Contrast checker → · Palette generator →

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