#54122A#54122A

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

Color values

HEX#54122A
RGBrgb(84, 18, 42)
HSLhsl(338, 65%, 20%)
HSVhsv(338, 79%, 33%)
CMYKcmyk(0%, 78.6%, 50%, 67.1%)
CIE-LABlab(17.85, 32.12, 1.95)
CIE-LCHlch(17.85, 32.18, 3.47°)
OKLaboklab(30.46% 0.0983 0.0054)
OKLCHoklch(30.46% 0.098 3.1)
XYZxyz(4.2907, 2.4852, 2.4438)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54122A #12543C
analogous
#54124B #54122A #541B12
triadic
#54122A #2A5412 #122A54
tetradic
#54122A #4B5412 #12543C #1B1254
square
#54122A #4B5412 #12543C #1B1254
split-complementary
#54122A #12541B #124B54
monochromatic
#19050D #220711 #54122A #861D43 #B9285C

Accessibility & contrast

On white

14.03
#54122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54122A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54122A#FFFFFF#000000##FFFFFF
##54122A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232B
Deuteranopia (green-blind)
#323028
Tritanopia (blue-blind)
#5C071C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54122a;
/* rgb */ color: rgb(84, 18, 42);
/* oklch */ color: oklch(30.5% 0.098 3.1);
Tailwind
colors: {
  custom: {
    50: '#885663',
    500: '#54122a',
    950: '#000000',
  },
}
SCSS
$custom: #54122a;
$custom-light: #885663;
$custom-dark: #000000;
JSON
{
  "hex": "#54122a",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 338.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.09849,
    "h": 3.1
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#54122A
secondary
#358D6D
accent
#E8AB40
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54122A

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

Preview Lab → · Contrast checker → · Palette generator →

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