#540F33#540F33

#540F33 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.106 H 353.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#540F33
RGBrgb(84, 15, 51)
HSLhsl(329, 70%, 19%)
HSVhsv(329, 82%, 33%)
CMYKcmyk(0%, 82.1%, 39.3%, 67.1%)
CIE-LABlab(17.76, 34.33, -4.61)
CIE-LCHlch(17.76, 34.64, 352.36°)
OKLaboklab(30.51% 0.1054 -0.0118)
OKLCHoklch(30.51% 0.106 353.6)
XYZxyz(4.4248, 2.4660, 3.3743)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F33 #0F5430
analogous
#530F54 #540F33 #540F10
triadic
#540F33 #33540F #0F3354
tetradic
#540F33 #54530F #0F5430 #0F1054
square
#540F33 #54530F #0F5430 #0F1054
split-complementary
#540F33 #10540F #0F5453
monochromatic
#1A0510 #200613 #540F33 #881853 #BC2272

Accessibility & contrast

On white

14.07
#540F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#540F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540F33
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F33#FFFFFF#000000##FFFFFF
##540F331.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2334
Deuteranopia (green-blind)
#303031
Tritanopia (blue-blind)
#5B081F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540f33;
/* rgb */ color: rgb(84, 15, 51);
/* oklch */ color: oklch(30.5% 0.106 353.6);
Tailwind
colors: {
  custom: {
    50: '#88556a',
    500: '#540f33',
    950: '#000000',
  },
}
SCSS
$custom: #540f33;
$custom-light: #88556a;
$custom-dark: #000000;
JSON
{
  "hex": "#540f33",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 328.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.10601,
    "h": 353.6
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#540F33
secondary
#318E5D
accent
#ED903B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #540F33

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

Preview Lab → · Contrast checker → · Palette generator →

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