#571231#571231

#571231 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.104 H 357.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#571231
RGBrgb(87, 18, 49)
HSLhsl(333, 66%, 21%)
HSVhsv(333, 79%, 34%)
CMYKcmyk(0%, 79.3%, 43.7%, 65.9%)
CIE-LABlab(18.72, 33.89, -1.70)
CIE-LCHlch(18.72, 33.93, 357.13°)
OKLaboklab(31.3% 0.104 -0.004)
OKLCHoklch(31.3% 0.104 357.8)
XYZxyz(4.7015, 2.6812, 3.1751)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571231 #125738
analogous
#571253 #571231 #571512
triadic
#571231 #315712 #123157
tetradic
#571231 #535712 #125738 #151257
square
#571231 #535712 #125738 #151257
split-complementary
#571231 #125715 #125357
monochromatic
#19050E #240814 #571231 #8A1C4E #BC276A

Accessibility & contrast

On white

13.67
#571231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#571231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571231
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571231#FFFFFF#000000##FFFFFF
##5712311.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#5F091F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #571231;
/* rgb */ color: rgb(87, 18, 49);
/* oklch */ color: oklch(31.3% 0.104 357.8);
Tailwind
colors: {
  custom: {
    50: '#8a5768',
    500: '#571231',
    950: '#000000',
  },
}
SCSS
$custom: #571231;
$custom-light: #8a5768;
$custom-dark: #000000;
JSON
{
  "hex": "#571231",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 333.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.10411,
    "h": 357.8
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#571231
secondary
#359067
accent
#E99C3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #571231

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

Preview Lab → · Contrast checker → · Palette generator →

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