#54102E#54102E

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

Color values

HEX#54102E
RGBrgb(84, 16, 46)
HSLhsl(334, 68%, 20%)
HSVhsv(334, 81%, 33%)
CMYKcmyk(0%, 81%, 45.2%, 67.1%)
CIE-LABlab(17.71, 33.36, -1.13)
CIE-LCHlch(17.71, 33.38, 358.07°)
OKLaboklab(30.4% 0.1024 -0.0026)
OKLCHoklch(30.4% 0.102 358.6)
XYZxyz(4.3349, 2.4532, 2.8295)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102E #105436
analogous
#541050 #54102E #541410
triadic
#54102E #2E5410 #102E54
tetradic
#54102E #505410 #105436 #141054
square
#54102E #505410 #105436 #141054
split-complementary
#54102E #105414 #105054
monochromatic
#1A050E #210612 #54102E #871A4A #BB2466

Accessibility & contrast

On white

14.09
#54102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54102E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102E#FFFFFF#000000##FFFFFF
##54102E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54102e;
/* rgb */ color: rgb(84, 16, 46);
/* oklch */ color: oklch(30.4% 0.102 358.6);
Tailwind
colors: {
  custom: {
    50: '#885566',
    500: '#54102e',
    950: '#000000',
  },
}
SCSS
$custom: #54102e;
$custom-light: #885566;
$custom-dark: #000000;
JSON
{
  "hex": "#54102e",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 333.529,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30401,
    "c": 0.10246,
    "h": 358.6
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#54102E
secondary
#328E65
accent
#EB9E3D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54102E

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

Preview Lab → · Contrast checker → · Palette generator →

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