#541147#541147

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

Color values

HEX#541147
RGBrgb(84, 17, 71)
HSLhsl(312, 66%, 20%)
HSVhsv(312, 80%, 33%)
CMYKcmyk(0%, 79.8%, 15.5%, 67.1%)
CIE-LABlab(18.98, 36.51, -16.75)
CIE-LCHlch(18.98, 40.17, 335.36°)
OKLaboklab(31.7% 0.1076 -0.0456)
OKLCHoklch(31.7% 0.117 337)
XYZxyz(4.9940, 2.7411, 6.2261)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541147 #11541E
analogous
#401154 #541147 #541125
triadic
#541147 #475411 #114754
tetradic
#541147 #544011 #11541E #112554
square
#541147 #544011 #11541E #112554
split-complementary
#541147 #255411 #115440
monochromatic
#190516 #21071C #541147 #871B72 #BA269D

Accessibility & contrast

On white

13.56
#541147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541147
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541147#FFFFFF#000000##FFFFFF
##5411471.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#59152A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541147;
/* rgb */ color: rgb(84, 17, 71);
/* oklch */ color: oklch(31.7% 0.117 337.0);
Tailwind
colors: {
  custom: {
    50: '#87577a',
    500: '#541147',
    950: '#000000',
  },
}
SCSS
$custom: #541147;
$custom-light: #87577a;
$custom-dark: #000000;
JSON
{
  "hex": "#541147",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 311.642,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31698,
    "c": 0.11682,
    "h": 337
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#541147
secondary
#348D45
accent
#E9603F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541147

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

Preview Lab → · Contrast checker → · Palette generator →

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