#540F44#540F44

#540F44 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.3% C 0.117 H 339.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#540F44
RGBrgb(84, 15, 68)
HSLhsl(314, 70%, 19%)
HSVhsv(314, 82%, 33%)
CMYKcmyk(0%, 82.1%, 19%, 67.1%)
CIE-LABlab(18.56, 36.75, -15.33)
CIE-LCHlch(18.56, 39.82, 337.36°)
OKLaboklab(31.34% 0.1094 -0.0415)
OKLCHoklch(31.34% 0.117 339.2)
XYZxyz(4.8705, 2.6443, 5.7216)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F44 #0F541F
analogous
#420F54 #540F44 #540F22
triadic
#540F44 #44540F #0F4454
tetradic
#540F44 #54420F #0F541F #0F2254
square
#540F44 #54420F #0F541F #0F2254
split-complementary
#540F44 #22540F #0F5442
monochromatic
#1A0515 #20061A #540F44 #88186E #BC2298

Accessibility & contrast

On white

13.74
#540F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#540F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540F44
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F44#FFFFFF#000000##FFFFFF
##540F441.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132645
Deuteranopia (green-blind)
#2A3142
Tritanopia (blue-blind)
#591228
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #540f44;
/* rgb */ color: rgb(84, 15, 68);
/* oklch */ color: oklch(31.3% 0.117 339.2);
Tailwind
colors: {
  custom: {
    50: '#875678',
    500: '#540f44',
    950: '#000000',
  },
}
SCSS
$custom: #540f44;
$custom-light: #875678;
$custom-dark: #000000;
JSON
{
  "hex": "#540f44",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 313.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.11696,
    "h": 339.2
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#540F44
secondary
#318E46
accent
#ED643B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #540F44

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

Preview Lab → · Contrast checker → · Palette generator →

#540F44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva