#541048#541048

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

Color values

HEX#541048
RGBrgb(84, 16, 72)
HSLhsl(311, 68%, 20%)
HSVhsv(311, 81%, 33%)
CMYKcmyk(0%, 81%, 14.3%, 67.1%)
CIE-LABlab(18.90, 37.05, -17.55)
CIE-LCHlch(18.90, 41.00, 334.65°)
OKLaboklab(31.66% 0.1088 -0.0478)
OKLCHoklch(31.66% 0.119 336.3)
XYZxyz(5.0112, 2.7237, 6.3914)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541048 #10541C
analogous
#3E1054 #541048 #541026
triadic
#541048 #485410 #104854
tetradic
#541048 #543E10 #10541C #102654
square
#541048 #543E10 #10541C #102654
split-complementary
#541048 #265410 #10543E
monochromatic
#1A0516 #21061C #541048 #871A74 #BB24A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541048#FFFFFF#000000##FFFFFF
##5410481.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)
#11274A
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#59152B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541048;
/* rgb */ color: rgb(84, 16, 72);
/* oklch */ color: oklch(31.7% 0.119 336.3);
Tailwind
colors: {
  custom: {
    50: '#87577b',
    500: '#541048',
    950: '#000000',
  },
}
SCSS
$custom: #541048;
$custom-light: #87577b;
$custom-dark: #000000;
JSON
{
  "hex": "#541048",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 310.588,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31662,
    "c": 0.11884,
    "h": 336.3
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#541048
secondary
#328E42
accent
#EB5C3D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541048

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

Preview Lab → · Contrast checker → · Palette generator →

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