#54142A#54142A

#54142A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.096 H 3.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#54142A
RGBrgb(84, 20, 42)
HSLhsl(339, 62%, 20%)
HSVhsv(339, 76%, 33%)
CMYKcmyk(0%, 76.2%, 50%, 67.1%)
CIE-LABlab(18.16, 31.28, 2.39)
CIE-LCHlch(18.16, 31.37, 4.37°)
OKLaboklab(30.69% 0.0956 0.0065)
OKLCHoklch(30.69% 0.096 3.9)
XYZxyz(4.3246, 2.5529, 2.4551)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54142A #14543E
analogous
#54144A #54142A #541E14
triadic
#54142A #2A5414 #142A54
tetradic
#54142A #4A5414 #14543E #1E1454
square
#54142A #4A5414 #14543E #1E1454
split-complementary
#54142A #14541E #144A54
monochromatic
#19060C #230811 #54142A #852043 #B72C5B

Accessibility & contrast

On white

13.90
#54142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#54142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54142A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54142A#FFFFFF#000000##FFFFFF
##54142A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#333128
Tritanopia (blue-blind)
#5C0A1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54142a;
/* rgb */ color: rgb(84, 20, 42);
/* oklch */ color: oklch(30.7% 0.096 3.9);
Tailwind
colors: {
  custom: {
    50: '#885763',
    500: '#54142a',
    950: '#000000',
  },
}
SCSS
$custom: #54142a;
$custom-light: #885763;
$custom-dark: #000000;
JSON
{
  "hex": "#54142a",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 339.375,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30689,
    "c": 0.09585,
    "h": 3.9
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#54142A
secondary
#388C6F
accent
#E5AD43
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54142A

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

Preview Lab → · Contrast checker → · Palette generator →

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