#541047#541047

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

Color values

HEX#541047
RGBrgb(84, 16, 71)
HSLhsl(311, 68%, 20%)
HSVhsv(311, 81%, 33%)
CMYKcmyk(0%, 81%, 15.5%, 67.1%)
CIE-LABlab(18.85, 36.88, -16.95)
CIE-LCHlch(18.85, 40.59, 335.32°)
OKLaboklab(31.6% 0.1087 -0.0461)
OKLCHoklch(31.6% 0.118 337)
XYZxyz(4.9789, 2.7108, 6.2210)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541047 #10541D
analogous
#3F1054 #541047 #541025
triadic
#541047 #475410 #104754
tetradic
#541047 #543F10 #10541D #102554
square
#541047 #543F10 #10541D #102554
split-complementary
#541047 #255410 #10543F
monochromatic
#1A0516 #21061C #541047 #871A72 #BB249E

Accessibility & contrast

On white

13.62
#541047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541047
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541047#FFFFFF#000000##FFFFFF
##5410471.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#293245
Tritanopia (blue-blind)
#59142A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541047;
/* rgb */ color: rgb(84, 16, 71);
/* oklch */ color: oklch(31.6% 0.118 337.0);
Tailwind
colors: {
  custom: {
    50: '#87567a',
    500: '#541047',
    950: '#000000',
  },
}
SCSS
$custom: #541047;
$custom-light: #87567a;
$custom-dark: #000000;
JSON
{
  "hex": "#541047",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 311.471,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31604,
    "c": 0.11806,
    "h": 337
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#541047
secondary
#328E44
accent
#EB5E3D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541047

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

Preview Lab → · Contrast checker → · Palette generator →

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