#57172B#57172B

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

Color values

HEX#57172B
RGBrgb(87, 23, 43)
HSLhsl(341, 58%, 22%)
HSVhsv(341, 74%, 34%)
CMYKcmyk(0%, 73.6%, 50.6%, 65.9%)
CIE-LABlab(19.28, 31.09, 3.37)
CIE-LCHlch(19.28, 31.27, 6.19°)
OKLaboklab(31.65% 0.0949 0.009)
OKLCHoklch(31.65% 0.095 5.4)
XYZxyz(4.6733, 2.8140, 2.5821)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57172B #175743
analogous
#57174B #57172B #572317
triadic
#57172B #2B5717 #172B57
tetradic
#57172B #4B5717 #175743 #231757
square
#57172B #4B5717 #175743 #231757
split-complementary
#57172B #175723 #174B57
monochromatic
#18060C #270A13 #57172B #872443 #B8315B

Accessibility & contrast

On white

13.44
#57172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57172B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57172B#FFFFFF#000000##FFFFFF
##57172B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57172b;
/* rgb */ color: rgb(87, 23, 43);
/* oklch */ color: oklch(31.6% 0.095 5.4);
Tailwind
colors: {
  custom: {
    50: '#8a5964',
    500: '#57172b',
    950: '#000000',
  },
}
SCSS
$custom: #57172b;
$custom-light: #8a5964;
$custom-dark: #000000;
JSON
{
  "hex": "#57172b",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 341.25,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.09531,
    "h": 5.4
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#57172B
secondary
#3C8E74
accent
#E1B146
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #57172B

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

Preview Lab → · Contrast checker → · Palette generator →

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