#54122B#54122B

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

Color values

HEX#54122B
RGBrgb(84, 18, 43)
HSLhsl(337, 65%, 20%)
HSVhsv(337, 79%, 33%)
CMYKcmyk(0%, 78.6%, 48.8%, 67.1%)
CIE-LABlab(17.88, 32.23, 1.28)
CIE-LCHlch(17.88, 32.26, 2.28°)
OKLaboklab(30.5% 0.0987 0.0037)
OKLCHoklch(30.5% 0.099 2.1)
XYZxyz(4.3088, 2.4924, 2.5392)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122B #12543B
analogous
#54124C #54122B #541A12
triadic
#54122B #2B5412 #122B54
tetradic
#54122B #4C5412 #12543B #1A1254
square
#54122B #4C5412 #12543B #1A1254
split-complementary
#54122B #12541A #124C54
monochromatic
#19050D #220711 #54122B #861D45 #B9285F

Accessibility & contrast

On white

14.01
#54122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54122B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122B#FFFFFF#000000##FFFFFF
##54122B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5C071C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#54122B
secondary
#358D6C
accent
#E8A840
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54122B

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

Preview Lab → · Contrast checker → · Palette generator →

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