#54122D#54122D

#54122D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.100 H 0.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#54122D
RGBrgb(84, 18, 45)
HSLhsl(335, 65%, 20%)
HSVhsv(335, 79%, 33%)
CMYKcmyk(0%, 78.6%, 46.4%, 67.1%)
CIE-LABlab(17.95, 32.45, -0.05)
CIE-LCHlch(17.95, 32.45, 359.91°)
OKLaboklab(30.57% 0.0995 0.0002)
OKLCHoklch(30.57% 0.1 0.1)
XYZxyz(4.3464, 2.5074, 2.7372)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122D #125439
analogous
#54124E #54122D #541812
triadic
#54122D #2D5412 #122D54
tetradic
#54122D #4E5412 #125439 #181254
square
#54122D #4E5412 #125439 #181254
split-complementary
#54122D #125418 #124E54
monochromatic
#19050D #220712 #54122D #861D48 #B92863

Accessibility & contrast

On white

13.99
#54122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54122D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122D#FFFFFF#000000##FFFFFF
##54122D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#32312B
Tritanopia (blue-blind)
#5C081D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54122d;
/* rgb */ color: rgb(84, 18, 45);
/* oklch */ color: oklch(30.6% 0.100 0.1);
Tailwind
colors: {
  custom: {
    50: '#885665',
    500: '#54122d',
    950: '#000000',
  },
}
SCSS
$custom: #54122d;
$custom-light: #885665;
$custom-dark: #000000;
JSON
{
  "hex": "#54122d",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 335.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30571,
    "c": 0.09953,
    "h": 0.1
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#54122D
secondary
#358D69
accent
#E8A340
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54122D

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

Preview Lab → · Contrast checker → · Palette generator →

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