#571238#571238

#571238 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.108 H 351.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#571238
RGBrgb(87, 18, 56)
HSLhsl(327, 66%, 21%)
HSVhsv(327, 79%, 34%)
CMYKcmyk(0%, 79.3%, 35.6%, 65.9%)
CIE-LABlab(18.99, 34.77, -6.24)
CIE-LCHlch(18.99, 35.32, 349.83°)
OKLaboklab(31.59% 0.1064 -0.0161)
OKLCHoklch(31.59% 0.108 351.4)
XYZxyz(4.8609, 2.7449, 4.0145)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571238 #125731
analogous
#531257 #571238 #571215
triadic
#571238 #385712 #123857
tetradic
#571238 #575312 #125731 #121557
square
#571238 #575312 #125731 #121557
split-complementary
#571238 #155712 #125753
monochromatic
#190510 #240817 #571238 #8A1C59 #BC2779

Accessibility & contrast

On white

13.56
#571238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#571238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571238
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571238#FFFFFF#000000##FFFFFF
##5712381.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2639
Deuteranopia (green-blind)
#313336
Tritanopia (blue-blind)
#5E0D23
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #571238;
/* rgb */ color: rgb(87, 18, 56);
/* oklch */ color: oklch(31.6% 0.108 351.4);
Tailwind
colors: {
  custom: {
    50: '#8a576e',
    500: '#571238',
    950: '#000000',
  },
}
SCSS
$custom: #571238;
$custom-light: #8a576e;
$custom-dark: #000000;
JSON
{
  "hex": "#571238",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 326.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.10759,
    "h": 351.4
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#571238
secondary
#35905E
accent
#E98B3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #571238

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

Preview Lab → · Contrast checker → · Palette generator →

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