#54122F#54122F

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

Color values

HEX#54122F
RGBrgb(84, 18, 47)
HSLhsl(334, 65%, 20%)
HSVhsv(334, 79%, 33%)
CMYKcmyk(0%, 78.6%, 44%, 67.1%)
CIE-LABlab(18.02, 32.69, -1.37)
CIE-LCHlch(18.02, 32.72, 357.59°)
OKLaboklab(30.65% 0.1003 -0.0032)
OKLCHoklch(30.65% 0.1 358.2)
XYZxyz(4.3859, 2.5232, 2.9448)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122F #125437
analogous
#541250 #54122F #541612
triadic
#54122F #2F5412 #122F54
tetradic
#54122F #505412 #125437 #161254
square
#54122F #505412 #125437 #161254
split-complementary
#54122F #125416 #125054
monochromatic
#19050E #220713 #54122F #861D4B #B92867

Accessibility & contrast

On white

13.96
#54122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54122F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122F#FFFFFF#000000##FFFFFF
##54122F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#31312D
Tritanopia (blue-blind)
#5B091E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54122f;
/* rgb */ color: rgb(84, 18, 47);
/* oklch */ color: oklch(30.6% 0.100 358.2);
Tailwind
colors: {
  custom: {
    50: '#885667',
    500: '#54122f',
    950: '#000000',
  },
}
SCSS
$custom: #54122f;
$custom-light: #885667;
$custom-dark: #000000;
JSON
{
  "hex": "#54122f",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 333.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30647,
    "c": 0.10034,
    "h": 358.2
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#54122F
secondary
#358D66
accent
#E89E40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54122F

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

Preview Lab → · Contrast checker → · Palette generator →

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