#57172C#57172C

#57172C is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.096 H 4.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#57172C
RGBrgb(87, 23, 44)
HSLhsl(340, 58%, 22%)
HSVhsv(340, 74%, 34%)
CMYKcmyk(0%, 73.6%, 49.4%, 65.9%)
CIE-LABlab(19.31, 31.20, 2.71)
CIE-LCHlch(19.31, 31.32, 4.96°)
OKLaboklab(31.68% 0.0953 0.0073)
OKLCHoklch(31.68% 0.096 4.4)
XYZxyz(4.6919, 2.8215, 2.6799)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57172C #175742
analogous
#57174C #57172C #572217
triadic
#57172C #2C5717 #172C57
tetradic
#57172C #4C5717 #175742 #221757
square
#57172C #4C5717 #175742 #221757
split-complementary
#57172C #175722 #174C57
monochromatic
#18060C #270A14 #57172C #872444 #B8315D

Accessibility & contrast

On white

13.43
#57172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#57172C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57172C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57172C#FFFFFF#000000##FFFFFF
##57172C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#36332A
Tritanopia (blue-blind)
#5F0E1F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #57172c;
/* rgb */ color: rgb(87, 23, 44);
/* oklch */ color: oklch(31.7% 0.096 4.4);
Tailwind
colors: {
  custom: {
    50: '#8a5964',
    500: '#57172c',
    950: '#000000',
  },
}
SCSS
$custom: #57172c;
$custom-light: #8a5964;
$custom-dark: #000000;
JSON
{
  "hex": "#57172c",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 340.313,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.09559,
    "h": 4.4
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#57172C
secondary
#3C8E73
accent
#E1AF46
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #57172C

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

Preview Lab → · Contrast checker → · Palette generator →

#57172C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva