#54122C#54122C

#54122C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.099 H 1.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#54122C
RGBrgb(84, 18, 44)
HSLhsl(336, 65%, 20%)
HSVhsv(336, 79%, 33%)
CMYKcmyk(0%, 78.6%, 47.6%, 67.1%)
CIE-LABlab(17.92, 32.34, 0.61)
CIE-LCHlch(17.92, 32.35, 1.09°)
OKLaboklab(30.54% 0.0991 0.002)
OKLCHoklch(30.54% 0.099 1.1)
XYZxyz(4.3274, 2.4998, 2.6370)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122C #12543A
analogous
#54124D #54122C #541912
triadic
#54122C #2C5412 #122C54
tetradic
#54122C #4D5412 #12543A #191254
square
#54122C #4D5412 #12543A #191254
split-complementary
#54122C #125419 #124D54
monochromatic
#19050D #220712 #54122C #861D46 #B92861

Accessibility & contrast

On white

14.00
#54122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#54122C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54122C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122C#FFFFFF#000000##FFFFFF
##54122C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242D
Deuteranopia (green-blind)
#32302A
Tritanopia (blue-blind)
#5C081D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54122c;
/* rgb */ color: rgb(84, 18, 44);
/* oklch */ color: oklch(30.5% 0.099 1.1);
Tailwind
colors: {
  custom: {
    50: '#885664',
    500: '#54122c',
    950: '#000000',
  },
}
SCSS
$custom: #54122c;
$custom-light: #885664;
$custom-dark: #000000;
JSON
{
  "hex": "#54122c",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 336.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.09916,
    "h": 1.1
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#54122C
secondary
#358D6A
accent
#E8A640
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54122C

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

Preview Lab → · Contrast checker → · Palette generator →

#54122C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva