#54102D#54102D

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

Color values

HEX#54102D
RGBrgb(84, 16, 45)
HSLhsl(334, 68%, 20%)
HSVhsv(334, 81%, 33%)
CMYKcmyk(0%, 81%, 46.4%, 67.1%)
CIE-LABlab(17.67, 33.24, -0.46)
CIE-LCHlch(17.67, 33.25, 359.20°)
OKLaboklab(30.36% 0.1021 -0.0008)
OKLCHoklch(30.36% 0.102 359.5)
XYZxyz(4.3154, 2.4454, 2.7269)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102D #105437
analogous
#54104F #54102D #541510
triadic
#54102D #2D5410 #102D54
tetradic
#54102D #4F5410 #105437 #151054
square
#54102D #4F5410 #105437 #151054
split-complementary
#54102D #105415 #104F54
monochromatic
#1A050E #210611 #54102D #871A49 #BB2464

Accessibility & contrast

On white

14.10
#54102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54102D
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102D#FFFFFF#000000##FFFFFF
##54102D1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#31302B
Tritanopia (blue-blind)
#5C061D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54102d;
/* rgb */ color: rgb(84, 16, 45);
/* oklch */ color: oklch(30.4% 0.102 359.5);
Tailwind
colors: {
  custom: {
    50: '#885565',
    500: '#54102d',
    950: '#000000',
  },
}
SCSS
$custom: #54102d;
$custom-light: #885565;
$custom-dark: #000000;
JSON
{
  "hex": "#54102d",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 334.412,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.10206,
    "h": 359.5
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#54102D
secondary
#328E67
accent
#EBA13D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54102D

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

Preview Lab → · Contrast checker → · Palette generator →

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