#57172E#57172E

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

Color values

HEX#57172E
RGBrgb(87, 23, 46)
HSLhsl(338, 58%, 22%)
HSVhsv(338, 74%, 34%)
CMYKcmyk(0%, 73.6%, 47.1%, 65.9%)
CIE-LABlab(19.38, 31.42, 1.39)
CIE-LCHlch(19.38, 31.45, 2.53°)
OKLaboklab(31.75% 0.0961 0.0039)
OKLCHoklch(31.75% 0.096 2.3)
XYZxyz(4.7304, 2.8369, 2.8827)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57172E #175740
analogous
#57174E #57172E #572017
triadic
#57172E #2E5717 #172E57
tetradic
#57172E #4E5717 #175740 #201757
square
#57172E #4E5717 #175740 #201757
split-complementary
#57172E #175720 #174E57
monochromatic
#18060D #270A14 #57172E #872448 #B83161

Accessibility & contrast

On white

13.40
#57172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57172E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57172E#FFFFFF#000000##FFFFFF
##57172E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#35342D
Tritanopia (blue-blind)
#5F0E20
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #57172e;
/* rgb */ color: rgb(87, 23, 46);
/* oklch */ color: oklch(31.8% 0.096 2.3);
Tailwind
colors: {
  custom: {
    50: '#8a5966',
    500: '#57172e',
    950: '#000000',
  },
}
SCSS
$custom: #57172e;
$custom-light: #8a5966;
$custom-dark: #000000;
JSON
{
  "hex": "#57172e",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 338.438,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.09621,
    "h": 2.3
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#57172E
secondary
#3C8E70
accent
#E1AA46
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #57172E

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

Preview Lab → · Contrast checker → · Palette generator →

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