#541239#541239

#541239 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.106 H 348.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#541239
RGBrgb(84, 18, 57)
HSLhsl(325, 65%, 20%)
HSVhsv(325, 79%, 33%)
CMYKcmyk(0%, 78.6%, 32.1%, 67.1%)
CIE-LABlab(18.42, 33.98, -7.86)
CIE-LCHlch(18.42, 34.88, 346.98°)
OKLaboklab(31.07% 0.1036 -0.0206)
OKLCHoklch(31.07% 0.106 348.7)
XYZxyz(4.6112, 2.6134, 4.1317)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541239 #12542D
analogous
#4E1254 #541239 #541218
triadic
#541239 #395412 #123954
tetradic
#541239 #544E12 #12542D #121854
square
#541239 #544E12 #12542D #121854
split-complementary
#541239 #185412 #12544E
monochromatic
#190511 #220717 #541239 #861D5B #B9287D

Accessibility & contrast

On white

13.79
#541239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#541239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541239
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541239#FFFFFF#000000##FFFFFF
##5412391.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263A
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#5B0F23
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541239;
/* rgb */ color: rgb(84, 18, 57);
/* oklch */ color: oklch(31.1% 0.106 348.7);
Tailwind
colors: {
  custom: {
    50: '#87576f',
    500: '#541239',
    950: '#000000',
  },
}
SCSS
$custom: #541239;
$custom-light: #87576f;
$custom-dark: #000000;
JSON
{
  "hex": "#541239",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 324.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.10559,
    "h": 348.7
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#541239
secondary
#358D59
accent
#E88540
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #541239

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

Preview Lab → · Contrast checker → · Palette generator →

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