#54173F#54173F

#54173F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.102 H 344.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#54173F
RGBrgb(84, 23, 63)
HSLhsl(321, 57%, 21%)
HSVhsv(321, 73%, 33%)
CMYKcmyk(0%, 72.6%, 25%, 67.1%)
CIE-LABlab(19.46, 32.73, -10.47)
CIE-LCHlch(19.46, 34.36, 342.27°)
OKLaboklab(31.92% 0.0985 -0.0279)
OKLCHoklch(31.92% 0.102 344.2)
XYZxyz(4.8599, 2.8570, 4.9972)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54173F #17542C
analogous
#4A1754 #54173F #541720
triadic
#54173F #3F5417 #173F54
tetradic
#54173F #544A17 #17542C #172054
square
#54173F #544A17 #17542C #172054
split-complementary
#54173F #205417 #17544A
monochromatic
#180712 #240A1B #54173F #842463 #B43187

Accessibility & contrast

On white

13.37
#54173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#54173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54173F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54173F#FFFFFF#000000##FFFFFF
##54173F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#2F333E
Tritanopia (blue-blind)
#5A1728
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54173f;
/* rgb */ color: rgb(84, 23, 63);
/* oklch */ color: oklch(31.9% 0.102 344.2);
Tailwind
colors: {
  custom: {
    50: '#875974',
    500: '#54173f',
    950: '#000000',
  },
}
SCSS
$custom: #54173f;
$custom-light: #875974;
$custom-dark: #000000;
JSON
{
  "hex": "#54173f",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 320.656,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.10239,
    "h": 344.2
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#54173F
secondary
#3C8B57
accent
#E07C48
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #54173F

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

Preview Lab → · Contrast checker → · Palette generator →

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