#54102A#54102A

#54102A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.101 H 2.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#54102A
RGBrgb(84, 16, 42)
HSLhsl(337, 68%, 20%)
HSVhsv(337, 81%, 33%)
CMYKcmyk(0%, 81%, 50%, 67.1%)
CIE-LABlab(17.57, 32.92, 1.54)
CIE-LCHlch(17.57, 32.95, 2.68°)
OKLaboklab(30.25% 0.1009 0.0043)
OKLCHoklch(30.25% 0.101 2.4)
XYZxyz(4.2597, 2.4231, 2.4334)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102A #10543A
analogous
#54104C #54102A #541810
triadic
#54102A #2A5410 #102A54
tetradic
#54102A #4C5410 #10543A #181054
square
#54102A #4C5410 #10543A #181054
split-complementary
#54102A #105418 #104C54
monochromatic
#1A050D #210610 #54102A #871A44 #BB245D

Accessibility & contrast

On white

14.15
#54102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#54102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54102A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102A#FFFFFF#000000##FFFFFF
##54102A1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#323028
Tritanopia (blue-blind)
#5C041B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54102a;
/* rgb */ color: rgb(84, 16, 42);
/* oklch */ color: oklch(30.3% 0.101 2.4);
Tailwind
colors: {
  custom: {
    50: '#885563',
    500: '#54102a',
    950: '#000000',
  },
}
SCSS
$custom: #54102a;
$custom-light: #885563;
$custom-dark: #000000;
JSON
{
  "hex": "#54102a",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 337.059,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30254,
    "c": 0.10097,
    "h": 2.4
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#54102A
secondary
#328E6B
accent
#EBA83D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54102A

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

Preview Lab → · Contrast checker → · Palette generator →

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