#54172E#54172E

#54172E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.093 H 0.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#54172E
RGBrgb(84, 23, 46)
HSLhsl(337, 57%, 21%)
HSVhsv(337, 73%, 33%)
CMYKcmyk(0%, 72.6%, 45.2%, 67.1%)
CIE-LABlab(18.78, 30.38, 0.45)
CIE-LCHlch(18.78, 30.38, 0.84°)
OKLaboklab(31.19% 0.0929 0.0015)
OKLCHoklch(31.19% 0.093 0.9)
XYZxyz(4.4560, 2.6954, 2.8698)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54172E #17543D
analogous
#54174C #54172E #541E17
triadic
#54172E #2E5417 #172E54
tetradic
#54172E #4C5417 #17543D #1E1754
square
#54172E #4C5417 #17543D #1E1754
split-complementary
#54172E #17541E #174C54
monochromatic
#18070D #240A14 #54172E #842448 #B43163

Accessibility & contrast

On white

13.65
#54172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#54172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54172E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54172E#FFFFFF#000000##FFFFFF
##54172E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#5B1020
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54172e;
/* rgb */ color: rgb(84, 23, 46);
/* oklch */ color: oklch(31.2% 0.093 0.9);
Tailwind
colors: {
  custom: {
    50: '#875966',
    500: '#54172e',
    950: '#000000',
  },
}
SCSS
$custom: #54172e;
$custom-light: #875966;
$custom-dark: #000000;
JSON
{
  "hex": "#54172e",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 337.377,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31194,
    "c": 0.09295,
    "h": 0.9
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#54172E
secondary
#3C8B6D
accent
#E0A748
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #54172E

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

Preview Lab → · Contrast checker → · Palette generator →

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