#541340#541340

#541340 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 342.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#541340
RGBrgb(84, 19, 64)
HSLhsl(318, 63%, 20%)
HSVhsv(318, 77%, 33%)
CMYKcmyk(0%, 77.4%, 23.8%, 67.1%)
CIE-LABlab(18.89, 34.61, -12.04)
CIE-LCHlch(18.89, 36.64, 340.82°)
OKLaboklab(31.52% 0.104 -0.0322)
OKLCHoklch(31.52% 0.109 342.8)
XYZxyz(4.8146, 2.7212, 5.1212)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541340 #135427
analogous
#481354 #541340 #54131F
triadic
#541340 #405413 #134054
tetradic
#541340 #544813 #135427 #131F54
square
#541340 #544813 #135427 #131F54
split-complementary
#541340 #1F5413 #135448
monochromatic
#190613 #22081A #541340 #861E66 #B82A8C

Accessibility & contrast

On white

13.60
#541340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541340
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541340#FFFFFF#000000##FFFFFF
##5413401.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541340;
/* rgb */ color: rgb(84, 19, 64);
/* oklch */ color: oklch(31.5% 0.109 342.8);
Tailwind
colors: {
  custom: {
    50: '#875775',
    500: '#541340',
    950: '#000000',
  },
}
SCSS
$custom: #541340;
$custom-light: #875775;
$custom-dark: #000000;
JSON
{
  "hex": "#541340",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 318.462,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31518,
    "c": 0.10891,
    "h": 342.8
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#541340
secondary
#368C51
accent
#E67442
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #541340

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

Preview Lab → · Contrast checker → · Palette generator →

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