#54152F#54152F

#54152F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.096 H 359.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#54152F
RGBrgb(84, 21, 47)
HSLhsl(335, 60%, 21%)
HSVhsv(335, 75%, 33%)
CMYKcmyk(0%, 75%, 44%, 67.1%)
CIE-LABlab(18.48, 31.41, -0.70)
CIE-LCHlch(18.48, 31.42, 358.73°)
OKLaboklab(30.99% 0.0962 -0.0014)
OKLCHoklch(30.99% 0.096 359.1)
XYZxyz(4.4377, 2.6269, 2.9621)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54152F #15543A
analogous
#54154E #54152F #541A15
triadic
#54152F #2F5415 #152F54
tetradic
#54152F #4E5415 #15543A #1A1554
square
#54152F #4E5415 #15543A #1A1554
split-complementary
#54152F #15541A #154E54
monochromatic
#18060E #230914 #54152F #85214A #B62D66

Accessibility & contrast

On white

13.77
#54152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#54152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54152F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54152F#FFFFFF#000000##FFFFFF
##54152F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#33312E
Tritanopia (blue-blind)
#5B0E20
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54152f;
/* rgb */ color: rgb(84, 21, 47);
/* oklch */ color: oklch(31.0% 0.096 359.1);
Tailwind
colors: {
  custom: {
    50: '#885867',
    500: '#54152f',
    950: '#000000',
  },
}
SCSS
$custom: #54152f;
$custom-light: #885867;
$custom-dark: #000000;
JSON
{
  "hex": "#54152f",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 335.238,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.09624,
    "h": 359.1
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#54152F
secondary
#398C6A
accent
#E3A245
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54152F

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

Preview Lab → · Contrast checker → · Palette generator →

#54152F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva