#56123A#56123A

#56123A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.108 H 349.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#56123A
RGBrgb(86, 18, 58)
HSLhsl(325, 65%, 20%)
HSVhsv(325, 79%, 34%)
CMYKcmyk(0%, 79.1%, 32.6%, 66.3%)
CIE-LABlab(18.87, 34.73, -7.84)
CIE-LCHlch(18.87, 35.60, 347.28°)
OKLaboklab(31.49% 0.1059 -0.0205)
OKLCHoklch(31.49% 0.108 349)
XYZxyz(4.8180, 2.7171, 4.2729)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56123A #12562E
analogous
#501256 #56123A #561218
triadic
#56123A #3A5612 #123A56
tetradic
#56123A #565012 #12562E #121856
square
#56123A #565012 #12562E #121856
split-complementary
#56123A #185612 #125650
monochromatic
#190511 #230718 #56123A #891D5C #BB277E

Accessibility & contrast

On white

13.61
#56123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#56123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56123A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56123A#FFFFFF#000000##FFFFFF
##56123A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263B
Deuteranopia (green-blind)
#303238
Tritanopia (blue-blind)
#5D0E24
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #56123a;
/* rgb */ color: rgb(86, 18, 58);
/* oklch */ color: oklch(31.5% 0.108 349.0);
Tailwind
colors: {
  custom: {
    50: '#895770',
    500: '#56123a',
    950: '#000000',
  },
}
SCSS
$custom: #56123a;
$custom-light: #895770;
$custom-dark: #000000;
JSON
{
  "hex": "#56123a",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 324.706,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3149,
    "c": 0.1079,
    "h": 349
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#56123A
secondary
#358F5A
accent
#E8853F
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #56123A

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

Preview Lab → · Contrast checker → · Palette generator →

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