#54122E#54122E

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

Color values

HEX#54122E
RGBrgb(84, 18, 46)
HSLhsl(335, 65%, 20%)
HSVhsv(335, 79%, 33%)
CMYKcmyk(0%, 78.6%, 45.2%, 67.1%)
CIE-LABlab(17.99, 32.57, -0.71)
CIE-LCHlch(17.99, 32.58, 358.75°)
OKLaboklab(30.61% 0.0999 -0.0015)
OKLCHoklch(30.61% 0.1 359.2)
XYZxyz(4.3659, 2.5152, 2.8398)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122E #125438
analogous
#54124F #54122E #541712
triadic
#54122E #2E5412 #122E54
tetradic
#54122E #4F5412 #125438 #171254
square
#54122E #4F5412 #125438 #171254
split-complementary
#54122E #125417 #124F54
monochromatic
#19050E #220712 #54122E #861D4A #B92865

Accessibility & contrast

On white

13.97
#54122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54122E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122E#FFFFFF#000000##FFFFFF
##54122E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#32312C
Tritanopia (blue-blind)
#5C091E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54122e;
/* rgb */ color: rgb(84, 18, 46);
/* oklch */ color: oklch(30.6% 0.100 359.2);
Tailwind
colors: {
  custom: {
    50: '#885666',
    500: '#54122e',
    950: '#000000',
  },
}
SCSS
$custom: #54122e;
$custom-light: #885666;
$custom-dark: #000000;
JSON
{
  "hex": "#54122e",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 334.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30609,
    "c": 0.09993,
    "h": 359.2
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#54122E
secondary
#358D68
accent
#E8A140
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54122E

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

Preview Lab → · Contrast checker → · Palette generator →

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