#541348#541348

#541348 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.115 H 336.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#541348
RGBrgb(84, 19, 72)
HSLhsl(311, 63%, 20%)
HSVhsv(311, 77%, 33%)
CMYKcmyk(0%, 77.4%, 14.3%, 67.1%)
CIE-LABlab(19.30, 35.91, -16.92)
CIE-LCHlch(19.30, 39.70, 334.77°)
OKLaboklab(31.95% 0.1054 -0.0461)
OKLCHoklch(31.95% 0.115 336.4)
XYZxyz(5.0588, 2.8189, 6.4073)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541348 #13541F
analogous
#3F1354 #541348 #541327
triadic
#541348 #485413 #134854
tetradic
#541348 #543F13 #13541F #132754
square
#541348 #543F13 #13541F #132754
split-complementary
#541348 #275413 #13543F
monochromatic
#190615 #22081D #541348 #861E73 #B82A9E

Accessibility & contrast

On white

13.43
#541348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#541348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541348
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541348#FFFFFF#000000##FFFFFF
##5413481.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142949
Deuteranopia (green-blind)
#2A3246
Tritanopia (blue-blind)
#59172B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #541348;
/* rgb */ color: rgb(84, 19, 72);
/* oklch */ color: oklch(32.0% 0.115 336.4);
Tailwind
colors: {
  custom: {
    50: '#87587b',
    500: '#541348',
    950: '#000000',
  },
}
SCSS
$custom: #541348;
$custom-light: #87587b;
$custom-dark: #000000;
JSON
{
  "hex": "#541348",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 311.077,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.11502,
    "h": 336.4
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#541348
secondary
#368C46
accent
#E66042
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #541348

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

Preview Lab → · Contrast checker → · Palette generator →

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