#541040#541040

#541040 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.113 H 342.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#541040
RGBrgb(84, 16, 64)
HSLhsl(318, 68%, 20%)
HSVhsv(318, 81%, 33%)
CMYKcmyk(0%, 81%, 23.8%, 67.1%)
CIE-LABlab(18.48, 35.77, -12.67)
CIE-LCHlch(18.48, 37.95, 340.49°)
OKLaboklab(31.22% 0.1076 -0.034)
OKLCHoklch(31.22% 0.113 342.5)
XYZxyz(4.7670, 2.6261, 5.1053)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541040 #105424
analogous
#461054 #541040 #54101E
triadic
#541040 #405410 #104054
tetradic
#541040 #544610 #105424 #101E54
square
#541040 #544610 #105424 #101E54
split-complementary
#541040 #1E5410 #105446
monochromatic
#1A0514 #210619 #541040 #871A67 #BB248E

Accessibility & contrast

On white

13.77
#541040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#541040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541040
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541040#FFFFFF#000000##FFFFFF
##5410401.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#5A1126
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541040;
/* rgb */ color: rgb(84, 16, 64);
/* oklch */ color: oklch(31.2% 0.113 342.5);
Tailwind
colors: {
  custom: {
    50: '#875675',
    500: '#541040',
    950: '#000000',
  },
}
SCSS
$custom: #541040;
$custom-light: #875675;
$custom-dark: #000000;
JSON
{
  "hex": "#541040",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 317.647,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.11283,
    "h": 342.5
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#541040
secondary
#328E4D
accent
#EB703D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #541040

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

Preview Lab → · Contrast checker → · Palette generator →

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