#54152A#54152A

#54152A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.094 H 4.3°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#54152A
RGBrgb(84, 21, 42)
HSLhsl(340, 60%, 21%)
HSVhsv(340, 75%, 33%)
CMYKcmyk(0%, 75%, 50%, 67.1%)
CIE-LABlab(18.32, 30.83, 2.62)
CIE-LCHlch(18.32, 30.94, 4.85°)
OKLaboklab(30.81% 0.0942 0.007)
OKLCHoklch(30.81% 0.094 4.3)
XYZxyz(4.3426, 2.5889, 2.4611)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54152A #15543F
analogous
#541549 #54152A #541F15
triadic
#54152A #2A5415 #152A54
tetradic
#54152A #495415 #15543F #1F1554
square
#54152A #495415 #15543F #1F1554
split-complementary
#54152A #15541F #154954
monochromatic
#18060C #230912 #54152A #852142 #B62D5B

Accessibility & contrast

On white

13.84
#54152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#54152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54152A
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54152A#FFFFFF#000000##FFFFFF
##54152A1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#343129
Tritanopia (blue-blind)
#5C0B1E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54152a;
/* rgb */ color: rgb(84, 21, 42);
/* oklch */ color: oklch(30.8% 0.094 4.3);
Tailwind
colors: {
  custom: {
    50: '#885863',
    500: '#54152a',
    950: '#000000',
  },
}
SCSS
$custom: #54152a;
$custom-light: #885863;
$custom-dark: #000000;
JSON
{
  "hex": "#54152a",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 340,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.09448,
    "h": 4.3
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#54152A
secondary
#398C70
accent
#E3AE45
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54152A

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

Preview Lab → · Contrast checker → · Palette generator →

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