#54123C#54123C

#54123C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.107 H 346.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#54123C
RGBrgb(84, 18, 60)
HSLhsl(322, 65%, 20%)
HSVhsv(322, 79%, 33%)
CMYKcmyk(0%, 78.6%, 28.6%, 67.1%)
CIE-LABlab(18.56, 34.41, -9.76)
CIE-LCHlch(18.56, 35.77, 344.17°)
OKLaboklab(31.21% 0.1044 -0.0258)
OKLCHoklch(31.21% 0.108 346.1)
XYZxyz(4.6883, 2.6442, 4.5376)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54123C #12542A
analogous
#4B1254 #54123C #54121B
triadic
#54123C #3C5412 #123C54
tetradic
#54123C #544B12 #12542A #121B54
square
#54123C #544B12 #12542A #121B54
split-complementary
#54123C #1B5412 #12544B
monochromatic
#190512 #220718 #54123C #861D60 #B92884

Accessibility & contrast

On white

13.74
#54123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#54123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54123C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54123C#FFFFFF#000000##FFFFFF
##54123C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263D
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#5A1025
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54123c;
/* rgb */ color: rgb(84, 18, 60);
/* oklch */ color: oklch(31.2% 0.107 346.1);
Tailwind
colors: {
  custom: {
    50: '#875771',
    500: '#54123c',
    950: '#000000',
  },
}
SCSS
$custom: #54123c;
$custom-light: #875771;
$custom-dark: #000000;
JSON
{
  "hex": "#54123c",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 321.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.1075,
    "h": 346.1
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#54123C
secondary
#358D55
accent
#E87D40
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #54123C

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

Preview Lab → · Contrast checker → · Palette generator →

#54123C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva