#57172F#57172F

#57172F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.097 H 1.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#57172F
RGBrgb(87, 23, 47)
HSLhsl(338, 58%, 22%)
HSVhsv(338, 74%, 34%)
CMYKcmyk(0%, 73.6%, 46%, 65.9%)
CIE-LABlab(19.41, 31.54, 0.73)
CIE-LCHlch(19.41, 31.55, 1.33°)
OKLaboklab(31.79% 0.0965 0.0023)
OKLCHoklch(31.79% 0.097 1.3)
XYZxyz(4.7503, 2.8448, 2.9877)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57172F #17573F
analogous
#57174F #57172F #571F17
triadic
#57172F #2F5717 #172F57
tetradic
#57172F #4F5717 #17573F #1F1757
square
#57172F #4F5717 #17573F #1F1757
split-complementary
#57172F #17571F #174F57
monochromatic
#18060D #270A15 #57172F #872449 #B83163

Accessibility & contrast

On white

13.39
#57172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#57172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57172F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57172F#FFFFFF#000000##FFFFFF
##57172F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#35342E
Tritanopia (blue-blind)
#5F0F21
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #57172f;
/* rgb */ color: rgb(87, 23, 47);
/* oklch */ color: oklch(31.8% 0.097 1.3);
Tailwind
colors: {
  custom: {
    50: '#8a5967',
    500: '#57172f',
    950: '#000000',
  },
}
SCSS
$custom: #57172f;
$custom-light: #8a5967;
$custom-dark: #000000;
JSON
{
  "hex": "#57172f",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 337.5,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31785,
    "c": 0.09656,
    "h": 1.3
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#57172F
secondary
#3C8E6F
accent
#E1A746
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #57172F

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

Preview Lab → · Contrast checker → · Palette generator →

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