#541840#541840

#541840 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.102 H 343.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#541840
RGBrgb(84, 24, 64)
HSLhsl(320, 56%, 21%)
HSVhsv(320, 71%, 33%)
CMYKcmyk(0%, 71.4%, 23.8%, 67.1%)
CIE-LABlab(19.67, 32.43, -10.83)
CIE-LCHlch(19.67, 34.19, 341.53°)
OKLaboklab(32.09% 0.0974 -0.0289)
OKLCHoklch(32.09% 0.102 343.5)
XYZxyz(4.9084, 2.9087, 5.1524)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541840 #18542C
analogous
#4A1854 #541840 #541822
triadic
#541840 #405418 #184054
tetradic
#541840 #544A18 #18542C #182254
square
#541840 #544A18 #18542C #182254
split-complementary
#541840 #225418 #18544A
monochromatic
#180712 #240A1C #541840 #842664 #B33389

Accessibility & contrast

On white

13.28
#541840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#541840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541840
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541840#FFFFFF#000000##FFFFFF
##5418401.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#2F333F
Tritanopia (blue-blind)
#5A1829
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541840;
/* rgb */ color: rgb(84, 24, 64);
/* oklch */ color: oklch(32.1% 0.102 343.5);
Tailwind
colors: {
  custom: {
    50: '#875a75',
    500: '#541840',
    950: '#000000',
  },
}
SCSS
$custom: #541840;
$custom-light: #875a75;
$custom-dark: #000000;
JSON
{
  "hex": "#541840",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 320,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.10156,
    "h": 343.5
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#541840
secondary
#3D8B57
accent
#DF7B49
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541840

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

Preview Lab → · Contrast checker → · Palette generator →

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