#541148#541148

#541148 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.118 H 336.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#541148
RGBrgb(84, 17, 72)
HSLhsl(311, 66%, 20%)
HSVhsv(311, 80%, 33%)
CMYKcmyk(0%, 79.8%, 14.3%, 67.1%)
CIE-LABlab(19.03, 36.68, -17.35)
CIE-LCHlch(19.03, 40.58, 334.69°)
OKLaboklab(31.76% 0.1077 -0.0473)
OKLCHoklch(31.76% 0.118 336.3)
XYZxyz(5.0264, 2.7541, 6.3965)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541148 #11541D
analogous
#3F1154 #541148 #541127
triadic
#541148 #485411 #114854
tetradic
#541148 #543F11 #11541D #112754
square
#541148 #543F11 #11541D #112754
split-complementary
#541148 #275411 #11543F
monochromatic
#190516 #21071C #541148 #871B74 #BA269F

Accessibility & contrast

On white

13.54
#541148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#541148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541148
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541148#FFFFFF#000000##FFFFFF
##5411481.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12284A
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#59162B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541148;
/* rgb */ color: rgb(84, 17, 72);
/* oklch */ color: oklch(31.8% 0.118 336.3);
Tailwind
colors: {
  custom: {
    50: '#87577b',
    500: '#541148',
    950: '#000000',
  },
}
SCSS
$custom: #541148;
$custom-light: #87577b;
$custom-dark: #000000;
JSON
{
  "hex": "#541148",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 310.746,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.11761,
    "h": 336.3
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#541148
secondary
#348D44
accent
#E95D3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541148

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

Preview Lab → · Contrast checker → · Palette generator →

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