#541828#541828

#541828 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.090 H 7.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#541828
RGBrgb(84, 24, 40)
HSLhsl(344, 56%, 21%)
HSVhsv(344, 71%, 33%)
CMYKcmyk(0%, 71.4%, 52.4%, 67.1%)
CIE-LABlab(18.76, 29.22, 4.68)
CIE-LCHlch(18.76, 29.59, 9.10°)
OKLaboklab(31.12% 0.0889 0.0122)
OKLCHoklch(31.12% 0.09 7.8)
XYZxyz(4.3661, 2.6918, 2.2967)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541828 #185444
analogous
#541846 #541828 #542618
triadic
#541828 #285418 #182854
tetradic
#541828 #465418 #185444 #261854
square
#541828 #465418 #185444 #261854
split-complementary
#541828 #185426 #184654
monochromatic
#18070B #240A11 #541828 #84263F #B33355

Accessibility & contrast

On white

13.65
#541828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541828
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541828#FFFFFF#000000##FFFFFF
##5418281.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#5C0F1E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541828;
/* rgb */ color: rgb(84, 24, 40);
/* oklch */ color: oklch(31.1% 0.090 7.8);
Tailwind
colors: {
  custom: {
    50: '#885961',
    500: '#541828',
    950: '#000000',
  },
}
SCSS
$custom: #541828;
$custom-light: #885961;
$custom-dark: #000000;
JSON
{
  "hex": "#541828",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 344,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.08974,
    "h": 7.8
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#541828
secondary
#3D8B76
accent
#DFB749
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #541828

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

Preview Lab → · Contrast checker → · Palette generator →

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