#54142D#54142D

#54142D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.097 H 0.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#54142D
RGBrgb(84, 20, 45)
HSLhsl(337, 62%, 20%)
HSVhsv(337, 76%, 33%)
CMYKcmyk(0%, 76.2%, 46.4%, 67.1%)
CIE-LABlab(18.25, 31.61, 0.39)
CIE-LCHlch(18.25, 31.62, 0.71°)
OKLaboklab(30.8% 0.0969 0.0014)
OKLCHoklch(30.8% 0.097 0.8)
XYZxyz(4.3803, 2.5751, 2.7485)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54142D #14543B
analogous
#54144D #54142D #541B14
triadic
#54142D #2D5414 #142D54
tetradic
#54142D #4D5414 #14543B #1B1454
square
#54142D #4D5414 #14543B #1B1454
split-complementary
#54142D #14541B #144D54
monochromatic
#19060D #230813 #54142D #852047 #B72C62

Accessibility & contrast

On white

13.86
#54142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54142D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54142D#FFFFFF#000000##FFFFFF
##54142D1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54142d;
/* rgb */ color: rgb(84, 20, 45);
/* oklch */ color: oklch(30.8% 0.097 0.8);
Tailwind
colors: {
  custom: {
    50: '#885765',
    500: '#54142d',
    950: '#000000',
  },
}
SCSS
$custom: #54142d;
$custom-light: #885765;
$custom-dark: #000000;
JSON
{
  "hex": "#54142d",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 336.563,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30795,
    "c": 0.09686,
    "h": 0.8
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#54142D
secondary
#388C6B
accent
#E5A643
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54142D

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

Preview Lab → · Contrast checker → · Palette generator →

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