#54102C#54102C

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

Color values

HEX#54102C
RGBrgb(84, 16, 44)
HSLhsl(335, 68%, 20%)
HSVhsv(335, 81%, 33%)
CMYKcmyk(0%, 81%, 47.6%, 67.1%)
CIE-LABlab(17.63, 33.13, 0.20)
CIE-LCHlch(17.63, 33.13, 0.35°)
OKLaboklab(30.33% 0.1017 0.0009)
OKLCHoklch(30.33% 0.102 0.5)
XYZxyz(4.2964, 2.4378, 2.6267)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102C #105438
analogous
#54104E #54102C #541610
triadic
#54102C #2C5410 #102C54
tetradic
#54102C #4E5410 #105438 #161054
square
#54102C #4E5410 #105438 #161054
split-complementary
#54102C #105416 #104E54
monochromatic
#1A050D #210611 #54102C #871A47 #BB2462

Accessibility & contrast

On white

14.12
#54102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#54102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54102C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102C#FFFFFF#000000##FFFFFF
##54102C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#31302A
Tritanopia (blue-blind)
#5C051C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54102c;
/* rgb */ color: rgb(84, 16, 44);
/* oklch */ color: oklch(30.3% 0.102 0.5);
Tailwind
colors: {
  custom: {
    50: '#885564',
    500: '#54102c',
    950: '#000000',
  },
}
SCSS
$custom: #54102c;
$custom-light: #885564;
$custom-dark: #000000;
JSON
{
  "hex": "#54102c",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 335.294,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30326,
    "c": 0.10167,
    "h": 0.5
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#54102C
secondary
#328E68
accent
#EBA33D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54102C

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

Preview Lab → · Contrast checker → · Palette generator →

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