#56122F#56122F

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

Color values

HEX#56122F
RGBrgb(86, 18, 47)
HSLhsl(334, 65%, 20%)
HSVhsv(334, 79%, 34%)
CMYKcmyk(0%, 79.1%, 45.3%, 66.3%)
CIE-LABlab(18.44, 33.34, -0.71)
CIE-LCHlch(18.44, 33.34, 358.77°)
OKLaboklab(31.03% 0.1023 -0.0015)
OKLCHoklch(31.03% 0.102 359.2)
XYZxyz(4.5675, 2.6169, 2.9534)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56122F #125639
analogous
#561251 #56122F #561712
triadic
#56122F #2F5612 #122F56
tetradic
#56122F #515612 #125639 #171256
square
#56122F #515612 #125639 #171256
split-complementary
#56122F #125617 #125156
monochromatic
#19050E #230713 #56122F #891D4B #BB2766

Accessibility & contrast

On white

13.79
#56122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56122F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56122F#FFFFFF#000000##FFFFFF
##56122F1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#5E081E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56122f;
/* rgb */ color: rgb(86, 18, 47);
/* oklch */ color: oklch(31.0% 0.102 359.2);
Tailwind
colors: {
  custom: {
    50: '#895767',
    500: '#56122f',
    950: '#000000',
  },
}
SCSS
$custom: #56122f;
$custom-light: #895767;
$custom-dark: #000000;
JSON
{
  "hex": "#56122f",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 334.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3103,
    "c": 0.10231,
    "h": 359.2
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#56122F
secondary
#358F68
accent
#E8A03F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #56122F

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

Preview Lab → · Contrast checker → · Palette generator →

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