#541247#541247

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

Color values

HEX#541247
RGBrgb(84, 18, 71)
HSLhsl(312, 65%, 20%)
HSVhsv(312, 79%, 33%)
CMYKcmyk(0%, 78.6%, 15.5%, 67.1%)
CIE-LABlab(19.11, 36.13, -16.54)
CIE-LCHlch(19.11, 39.74, 335.41°)
OKLaboklab(31.8% 0.1064 -0.045)
OKLCHoklch(31.8% 0.116 337.1)
XYZxyz(5.0099, 2.7728, 6.2314)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541247 #12541F
analogous
#401254 #541247 #541226
triadic
#541247 #475412 #124754
tetradic
#541247 #544012 #12541F #122654
square
#541247 #544012 #12541F #122654
split-complementary
#541247 #265412 #125440
monochromatic
#190515 #22071C #541247 #861D72 #B9289C

Accessibility & contrast

On white

13.51
#541247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541247
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541247#FFFFFF#000000##FFFFFF
##5412471.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142848
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#59162B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541247;
/* rgb */ color: rgb(84, 18, 71);
/* oklch */ color: oklch(31.8% 0.116 337.1);
Tailwind
colors: {
  custom: {
    50: '#87577a',
    500: '#541247',
    950: '#000000',
  },
}
SCSS
$custom: #541247;
$custom-light: #87577a;
$custom-dark: #000000;
JSON
{
  "hex": "#541247",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 311.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.11554,
    "h": 337.1
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#541247
secondary
#358D46
accent
#E86140
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541247

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

Preview Lab → · Contrast checker → · Palette generator →

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