#54102B#54102B

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

Color values

HEX#54102B
RGBrgb(84, 16, 43)
HSLhsl(336, 68%, 20%)
HSVhsv(336, 81%, 33%)
CMYKcmyk(0%, 81%, 48.8%, 67.1%)
CIE-LABlab(17.60, 33.02, 0.87)
CIE-LCHlch(17.60, 33.03, 1.51°)
OKLaboklab(30.29% 0.1013 0.0026)
OKLCHoklch(30.29% 0.101 1.5)
XYZxyz(4.2778, 2.4304, 2.5289)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102B #105439
analogous
#54104D #54102B #541710
triadic
#54102B #2B5410 #102B54
tetradic
#54102B #4D5410 #105439 #171054
square
#54102B #4D5410 #105439 #171054
split-complementary
#54102B #105417 #104D54
monochromatic
#1A050D #210611 #54102B #871A45 #BB2460

Accessibility & contrast

On white

14.13
#54102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54102B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102B#FFFFFF#000000##FFFFFF
##54102B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232C
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5C051C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54102b;
/* rgb */ color: rgb(84, 16, 43);
/* oklch */ color: oklch(30.3% 0.101 1.5);
Tailwind
colors: {
  custom: {
    50: '#885564',
    500: '#54102b',
    950: '#000000',
  },
}
SCSS
$custom: #54102b;
$custom-light: #885564;
$custom-dark: #000000;
JSON
{
  "hex": "#54102b",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 336.176,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3029,
    "c": 0.10131,
    "h": 1.5
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#54102B
secondary
#328E69
accent
#EBA63D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54102B

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

Preview Lab → · Contrast checker → · Palette generator →

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