#54152B#54152B

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

Color values

HEX#54152B
RGBrgb(84, 21, 43)
HSLhsl(339, 60%, 21%)
HSVhsv(339, 75%, 33%)
CMYKcmyk(0%, 75%, 48.8%, 67.1%)
CIE-LABlab(18.35, 30.95, 1.95)
CIE-LCHlch(18.35, 31.01, 3.61°)
OKLaboklab(30.84% 0.0946 0.0054)
OKLCHoklch(30.84% 0.095 3.2)
XYZxyz(4.3607, 2.5961, 2.5565)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54152B #15543E
analogous
#54154A #54152B #541F15
triadic
#54152B #2B5415 #152B54
tetradic
#54152B #4A5415 #15543E #1F1554
square
#54152B #4A5415 #15543E #1F1554
split-complementary
#54152B #15541F #154A54
monochromatic
#18060D #230912 #54152B #852144 #B62D5D

Accessibility & contrast

On white

13.82
#54152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54152B
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54152B#FFFFFF#000000##FFFFFF
##54152B1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#33312A
Tritanopia (blue-blind)
#5C0C1E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54152b;
/* rgb */ color: rgb(84, 21, 43);
/* oklch */ color: oklch(30.8% 0.095 3.2);
Tailwind
colors: {
  custom: {
    50: '#885864',
    500: '#54152b',
    950: '#000000',
  },
}
SCSS
$custom: #54152b;
$custom-light: #885864;
$custom-dark: #000000;
JSON
{
  "hex": "#54152b",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 339.048,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.09479,
    "h": 3.2
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#54152B
secondary
#398C6F
accent
#E3AC45
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54152B

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

Preview Lab → · Contrast checker → · Palette generator →

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