#571240#571240

#571240 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.113 H 344.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#571240
RGBrgb(87, 18, 64)
HSLhsl(320, 66%, 21%)
HSVhsv(320, 79%, 34%)
CMYKcmyk(0%, 79.3%, 26.4%, 65.9%)
CIE-LABlab(19.35, 35.88, -11.28)
CIE-LCHlch(19.35, 37.62, 342.55°)
OKLaboklab(31.96% 0.1085 -0.0301)
OKLCHoklch(31.96% 0.113 344.5)
XYZxyz(5.0724, 2.8296, 5.1285)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571240 #125729
analogous
#4B1257 #571240 #57121D
triadic
#571240 #405712 #124057
tetradic
#571240 #574B12 #125729 #121D57
square
#571240 #574B12 #125729 #121D57
split-complementary
#571240 #1D5712 #12574B
monochromatic
#190513 #24081B #571240 #8A1C65 #BC278B

Accessibility & contrast

On white

13.41
#571240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#571240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571240
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571240#FFFFFF#000000##FFFFFF
##5712401.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2841
Deuteranopia (green-blind)
#2F333E
Tritanopia (blue-blind)
#5D1127
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #571240;
/* rgb */ color: rgb(87, 18, 64);
/* oklch */ color: oklch(32.0% 0.113 344.5);
Tailwind
colors: {
  custom: {
    50: '#895875',
    500: '#571240',
    950: '#000000',
  },
}
SCSS
$custom: #571240;
$custom-light: #895875;
$custom-dark: #000000;
JSON
{
  "hex": "#571240",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 320,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31963,
    "c": 0.11257,
    "h": 344.5
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#571240
secondary
#359053
accent
#E9783F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #571240

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

Preview Lab → · Contrast checker → · Palette generator →

#571240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva