#541B31#541B31

#541B31 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.088 H 359.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#541B31
RGBrgb(84, 27, 49)
HSLhsl(337, 51%, 22%)
HSVhsv(337, 68%, 33%)
CMYKcmyk(0%, 67.9%, 41.7%, 67.1%)
CIE-LABlab(19.60, 28.79, -0.47)
CIE-LCHlch(19.60, 28.79, 359.06°)
OKLaboklab(31.84% 0.088 -0.0009)
OKLCHoklch(31.84% 0.088 359.4)
XYZxyz(4.6027, 2.8910, 3.2208)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B31 #1B543E
analogous
#541B4E #541B31 #54221B
triadic
#541B31 #31541B #1B3154
tetradic
#541B31 #4E541B #1B543E #221B54
square
#541B31 #4E541B #1B543E #221B54
split-complementary
#541B31 #1B5422 #1B4E54
monochromatic
#17070E #260C16 #541B31 #822A4C #B13967

Accessibility & contrast

On white

13.31
#541B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#541B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B31
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B31#FFFFFF#000000##FFFFFF
##541B311.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252932
Deuteranopia (green-blind)
#353330
Tritanopia (blue-blind)
#5B1624
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #541b31;
/* rgb */ color: rgb(84, 27, 49);
/* oklch */ color: oklch(31.8% 0.088 359.4);
Tailwind
colors: {
  custom: {
    50: '#875b68',
    500: '#541b31',
    950: '#000000',
  },
}
SCSS
$custom: #541b31;
$custom-light: #875b68;
$custom-dark: #000000;
JSON
{
  "hex": "#541b31",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 336.842,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31837,
    "c": 0.08796,
    "h": 359.4
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#541B31
secondary
#418A6E
accent
#DBA44D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #541B31

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

Preview Lab → · Contrast checker → · Palette generator →

#541B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva