#56174B#56174B

#56174B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.113 H 335.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#56174B
RGBrgb(86, 23, 75)
HSLhsl(310, 58%, 21%)
HSVhsv(310, 73%, 34%)
CMYKcmyk(0%, 73.3%, 12.8%, 66.3%)
CIE-LABlab(20.44, 35.32, -17.17)
CIE-LCHlch(20.44, 39.27, 334.07°)
OKLaboklab(32.9% 0.1032 -0.0468)
OKLCHoklch(32.9% 0.113 335.6)
XYZxyz(5.4142, 3.0997, 6.9684)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56174B #175622
analogous
#421756 #56174B #56172C
triadic
#56174B #4B5617 #174B56
tetradic
#56174B #564217 #175622 #172C56
square
#56174B #564217 #175622 #172C56
split-complementary
#56174B #2C5617 #175642
monochromatic
#180615 #260A21 #56174B #862475 #B7319F

Accessibility & contrast

On white

12.96
#56174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#56174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56174B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56174B#FFFFFF#000000##FFFFFF
##56174B1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#2C3549
Tritanopia (blue-blind)
#5B1B2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56174b;
/* rgb */ color: rgb(86, 23, 75);
/* oklch */ color: oklch(32.9% 0.113 335.6);
Tailwind
colors: {
  custom: {
    50: '#885a7d',
    500: '#56174b',
    950: '#000000',
  },
}
SCSS
$custom: #56174b;
$custom-light: #885a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#56174b",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 310.476,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.11327,
    "h": 335.6
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#56174B
secondary
#3C8D4A
accent
#E16247
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #56174B

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

Preview Lab → · Contrast checker → · Palette generator →

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