#57172A#57172A

#57172A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.095 H 6.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#57172A
RGBrgb(87, 23, 42)
HSLhsl(342, 58%, 22%)
HSVhsv(342, 74%, 34%)
CMYKcmyk(0%, 73.6%, 51.7%, 65.9%)
CIE-LABlab(19.25, 30.99, 4.04)
CIE-LCHlch(19.25, 31.25, 7.42°)
OKLaboklab(31.62% 0.0945 0.0106)
OKLCHoklch(31.62% 0.095 6.4)
XYZxyz(4.6552, 2.8068, 2.4867)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57172A #175744
analogous
#57174A #57172A #572417
triadic
#57172A #2A5717 #172A57
tetradic
#57172A #4A5717 #175744 #241757
square
#57172A #4A5717 #175744 #241757
split-complementary
#57172A #175724 #174A57
monochromatic
#18060C #270A13 #57172A #872441 #B83159

Accessibility & contrast

On white

13.45
#57172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57172A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57172A#FFFFFF#000000##FFFFFF
##57172A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272A
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#5F0D1F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #57172a;
/* rgb */ color: rgb(87, 23, 42);
/* oklch */ color: oklch(31.6% 0.095 6.4);
Tailwind
colors: {
  custom: {
    50: '#8a5963',
    500: '#57172a',
    950: '#000000',
  },
}
SCSS
$custom: #57172a;
$custom-light: #8a5963;
$custom-dark: #000000;
JSON
{
  "hex": "#57172a",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 342.188,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.09505,
    "h": 6.4
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#57172A
secondary
#3C8E76
accent
#E1B346
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #57172A

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

Preview Lab → · Contrast checker → · Palette generator →

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