#56122E#56122E

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

Color values

HEX#56122E
RGBrgb(86, 18, 46)
HSLhsl(335, 65%, 20%)
HSVhsv(335, 79%, 34%)
CMYKcmyk(0%, 79.1%, 46.5%, 66.3%)
CIE-LABlab(18.40, 33.22, -0.05)
CIE-LCHlch(18.40, 33.22, 359.91°)
OKLaboklab(30.99% 0.1019 0.0002)
OKLCHoklch(30.99% 0.102 0.1)
XYZxyz(4.5475, 2.6089, 2.8483)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122E #12563A
analogous
#561250 #56122E #561812
triadic
#56122E #2E5612 #122E56
tetradic
#56122E #505612 #12563A #181256
square
#56122E #505612 #12563A #181256
split-complementary
#56122E #125618 #125056
monochromatic
#19050E #230713 #56122E #891D49 #BB2764

Accessibility & contrast

On white

13.80
#56122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56122E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122E#FFFFFF#000000##FFFFFF
##56122E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#33322C
Tritanopia (blue-blind)
#5E081E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56122e;
/* rgb */ color: rgb(86, 18, 46);
/* oklch */ color: oklch(31.0% 0.102 0.1);
Tailwind
colors: {
  custom: {
    50: '#895766',
    500: '#56122e',
    950: '#000000',
  },
}
SCSS
$custom: #56122e;
$custom-light: #895766;
$custom-dark: #000000;
JSON
{
  "hex": "#56122e",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 335.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.10192,
    "h": 0.1
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#56122E
secondary
#358F6A
accent
#E8A33F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #56122E

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

Preview Lab → · Contrast checker → · Palette generator →

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