#54102F#54102F

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

Color values

HEX#54102F
RGBrgb(84, 16, 47)
HSLhsl(333, 68%, 20%)
HSVhsv(333, 81%, 33%)
CMYKcmyk(0%, 81%, 44%, 67.1%)
CIE-LABlab(17.74, 33.47, -1.79)
CIE-LCHlch(17.74, 33.52, 356.94°)
OKLaboklab(30.44% 0.1028 -0.0043)
OKLCHoklch(30.44% 0.103 357.6)
XYZxyz(4.3548, 2.4612, 2.9345)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54102F #105435
analogous
#541051 #54102F #541310
triadic
#54102F #2F5410 #102F54
tetradic
#54102F #515410 #105435 #131054
square
#54102F #515410 #105435 #131054
split-complementary
#54102F #105413 #105154
monochromatic
#1A050E #210612 #54102F #871A4C #BB2469

Accessibility & contrast

On white

14.07
#54102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54102F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54102F#FFFFFF#000000##FFFFFF
##54102F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#5C071E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54102f;
/* rgb */ color: rgb(84, 16, 47);
/* oklch */ color: oklch(30.4% 0.103 357.6);
Tailwind
colors: {
  custom: {
    50: '#885667',
    500: '#54102f',
    950: '#000000',
  },
}
SCSS
$custom: #54102f;
$custom-light: #885667;
$custom-dark: #000000;
JSON
{
  "hex": "#54102f",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 332.647,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3044,
    "c": 0.10289,
    "h": 357.6
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#54102F
secondary
#328E64
accent
#EB9C3D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54102F

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

Preview Lab → · Contrast checker → · Palette generator →

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