#54123B#54123B

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

Color values

HEX#54123B
RGBrgb(84, 18, 59)
HSLhsl(323, 65%, 20%)
HSVhsv(323, 79%, 33%)
CMYKcmyk(0%, 78.6%, 29.8%, 67.1%)
CIE-LABlab(18.51, 34.27, -9.13)
CIE-LCHlch(18.51, 35.46, 345.09°)
OKLaboklab(31.17% 0.1041 -0.0241)
OKLCHoklch(31.17% 0.107 347)
XYZxyz(4.6621, 2.6337, 4.3997)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54123B #12542B
analogous
#4C1254 #54123B #54121A
triadic
#54123B #3B5412 #123B54
tetradic
#54123B #544C12 #12542B #121A54
square
#54123B #544C12 #12542B #121A54
split-complementary
#54123B #1A5412 #12544C
monochromatic
#190512 #220718 #54123B #861D5E #B92882

Accessibility & contrast

On white

13.76
#54123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54123B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54123B#FFFFFF#000000##FFFFFF
##54123B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B263C
Deuteranopia (green-blind)
#2E3139
Tritanopia (blue-blind)
#5A1024
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54123b;
/* rgb */ color: rgb(84, 18, 59);
/* oklch */ color: oklch(31.2% 0.107 347.0);
Tailwind
colors: {
  custom: {
    50: '#875771',
    500: '#54123b',
    950: '#000000',
  },
}
SCSS
$custom: #54123b;
$custom-light: #875771;
$custom-dark: #000000;
JSON
{
  "hex": "#54123b",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 322.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.10685,
    "h": 347
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#54123B
secondary
#358D56
accent
#E88040
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #54123B

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

Preview Lab → · Contrast checker → · Palette generator →

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