#54152E#54152E

#54152E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.096 H 0.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#54152E
RGBrgb(84, 21, 46)
HSLhsl(336, 60%, 21%)
HSVhsv(336, 75%, 33%)
CMYKcmyk(0%, 75%, 45.2%, 67.1%)
CIE-LABlab(18.45, 31.29, -0.04)
CIE-LCHlch(18.45, 31.29, 359.93°)
OKLaboklab(30.95% 0.0958 0.0003)
OKLCHoklch(30.95% 0.096 0.2)
XYZxyz(4.4178, 2.6189, 2.8571)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54152E #15543B
analogous
#54154D #54152E #541B15
triadic
#54152E #2E5415 #152E54
tetradic
#54152E #4D5415 #15543B #1B1554
square
#54152E #4D5415 #15543B #1B1554
split-complementary
#54152E #15541B #154D54
monochromatic
#18060D #230913 #54152E #852149 #B62D64

Accessibility & contrast

On white

13.78
#54152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#54152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54152E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54152E#FFFFFF#000000##FFFFFF
##54152E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252F
Deuteranopia (green-blind)
#33312D
Tritanopia (blue-blind)
#5C0D1F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54152e;
/* rgb */ color: rgb(84, 21, 46);
/* oklch */ color: oklch(30.9% 0.096 0.2);
Tailwind
colors: {
  custom: {
    50: '#885866',
    500: '#54152e',
    950: '#000000',
  },
}
SCSS
$custom: #54152e;
$custom-light: #885866;
$custom-dark: #000000;
JSON
{
  "hex": "#54152e",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 336.19,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.09584,
    "h": 0.2
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#54152E
secondary
#398C6B
accent
#E3A445
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54152E

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

Preview Lab → · Contrast checker → · Palette generator →

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