#54142F#54142F

#54142F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.098 H 358.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#54142F
RGBrgb(84, 20, 47)
HSLhsl(335, 62%, 20%)
HSVhsv(335, 76%, 33%)
CMYKcmyk(0%, 76.2%, 44%, 67.1%)
CIE-LABlab(18.32, 31.85, -0.93)
CIE-LCHlch(18.32, 31.86, 358.33°)
OKLaboklab(30.87% 0.0976 -0.002)
OKLCHoklch(30.87% 0.098 358.8)
XYZxyz(4.4197, 2.5909, 2.9561)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54142F #145439
analogous
#54144F #54142F #541914
triadic
#54142F #2F5414 #142F54
tetradic
#54142F #4F5414 #145439 #191454
square
#54142F #4F5414 #145439 #191454
split-complementary
#54142F #145419 #144F54
monochromatic
#19060E #230813 #54142F #85204B #B72C66

Accessibility & contrast

On white

13.83
#54142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54142F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54142F#FFFFFF#000000##FFFFFF
##54142F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#32312E
Tritanopia (blue-blind)
#5B0C1F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54142f;
/* rgb */ color: rgb(84, 20, 47);
/* oklch */ color: oklch(30.9% 0.098 358.8);
Tailwind
colors: {
  custom: {
    50: '#885767',
    500: '#54142f',
    950: '#000000',
  },
}
SCSS
$custom: #54142f;
$custom-light: #885767;
$custom-dark: #000000;
JSON
{
  "hex": "#54142f",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 334.688,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30869,
    "c": 0.09764,
    "h": 358.8
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#54142F
secondary
#388C68
accent
#E5A143
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54142F

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

Preview Lab → · Contrast checker → · Palette generator →

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