#541240#541240

#541240 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.110 H 342.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#541240
RGBrgb(84, 18, 64)
HSLhsl(318, 65%, 20%)
HSVhsv(318, 79%, 33%)
CMYKcmyk(0%, 78.6%, 23.8%, 67.1%)
CIE-LABlab(18.75, 35.01, -12.26)
CIE-LCHlch(18.75, 37.09, 340.71°)
OKLaboklab(31.42% 0.1053 -0.0328)
OKLCHoklch(31.42% 0.11 342.7)
XYZxyz(4.7980, 2.6881, 5.1157)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541240 #125426
analogous
#471254 #541240 #54121F
triadic
#541240 #405412 #124054
tetradic
#541240 #544712 #125426 #121F54
square
#541240 #544712 #125426 #121F54
split-complementary
#541240 #1F5412 #125447
monochromatic
#190513 #22071A #541240 #861D66 #B9288D

Accessibility & contrast

On white

13.66
#541240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541240
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541240#FFFFFF#000000##FFFFFF
##5412401.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182741
Deuteranopia (green-blind)
#2D323E
Tritanopia (blue-blind)
#5A1227
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541240;
/* rgb */ color: rgb(84, 18, 64);
/* oklch */ color: oklch(31.4% 0.110 342.7);
Tailwind
colors: {
  custom: {
    50: '#875775',
    500: '#541240',
    950: '#000000',
  },
}
SCSS
$custom: #541240;
$custom-light: #875775;
$custom-dark: #000000;
JSON
{
  "hex": "#541240",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 318.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.11025,
    "h": 342.7
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#541240
secondary
#358D50
accent
#E87340
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #541240

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

Preview Lab → · Contrast checker → · Palette generator →

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