#54152D#54152D

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

Color values

HEX#54152D
RGBrgb(84, 21, 45)
HSLhsl(337, 60%, 21%)
HSVhsv(337, 75%, 33%)
CMYKcmyk(0%, 75%, 46.4%, 67.1%)
CIE-LABlab(18.41, 31.17, 0.62)
CIE-LCHlch(18.41, 31.18, 1.15°)
OKLaboklab(30.91% 0.0954 0.002)
OKLCHoklch(30.91% 0.095 1.2)
XYZxyz(4.3983, 2.6112, 2.7545)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54152D #15543C
analogous
#54154C #54152D #541C15
triadic
#54152D #2D5415 #152D54
tetradic
#54152D #4C5415 #15543C #1C1554
square
#54152D #4C5415 #15543C #1C1554
split-complementary
#54152D #15541C #154C54
monochromatic
#18060D #230913 #54152D #852147 #B62D61

Accessibility & contrast

On white

13.80
#54152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54152D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54152D#FFFFFF#000000##FFFFFF
##54152D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#33312C
Tritanopia (blue-blind)
#5C0D1F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54152d;
/* rgb */ color: rgb(84, 21, 45);
/* oklch */ color: oklch(30.9% 0.095 1.2);
Tailwind
colors: {
  custom: {
    50: '#885865',
    500: '#54152d',
    950: '#000000',
  },
}
SCSS
$custom: #54152d;
$custom-light: #885865;
$custom-dark: #000000;
JSON
{
  "hex": "#54152d",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 337.143,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.09547,
    "h": 1.2
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#54152D
secondary
#398C6C
accent
#E3A745
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54152D

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

Preview Lab → · Contrast checker → · Palette generator →

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