#541031#541031

#541031 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.104 H 355.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#541031
RGBrgb(84, 16, 49)
HSLhsl(331, 68%, 20%)
HSVhsv(331, 81%, 33%)
CMYKcmyk(0%, 81%, 41.7%, 67.1%)
CIE-LABlab(17.82, 33.71, -3.10)
CIE-LCHlch(17.82, 33.86, 354.74°)
OKLaboklab(30.52% 0.1035 -0.0077)
OKLCHoklch(30.52% 0.104 355.7)
XYZxyz(4.3961, 2.4777, 3.1519)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541031 #105433
analogous
#541053 #541031 #541110
triadic
#541031 #315410 #103154
tetradic
#541031 #535410 #105433 #111054
square
#541031 #535410 #105433 #111054
split-complementary
#541031 #105411 #105354
monochromatic
#1A050F #210613 #541031 #871A4F #BB246D

Accessibility & contrast

On white

14.04
#541031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#541031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541031
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541031#FFFFFF#000000##FFFFFF
##5410311.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2432
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#5B081E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541031;
/* rgb */ color: rgb(84, 16, 49);
/* oklch */ color: oklch(30.5% 0.104 355.7);
Tailwind
colors: {
  custom: {
    50: '#885669',
    500: '#541031',
    950: '#000000',
  },
}
SCSS
$custom: #541031;
$custom-light: #885669;
$custom-dark: #000000;
JSON
{
  "hex": "#541031",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 330.882,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.1038,
    "h": 355.7
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#541031
secondary
#328E61
accent
#EB963D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541031

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

Preview Lab → · Contrast checker → · Palette generator →

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