#54123A#54123A

#54123A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.106 H 347.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#54123A
RGBrgb(84, 18, 58)
HSLhsl(324, 65%, 20%)
HSVhsv(324, 79%, 33%)
CMYKcmyk(0%, 78.6%, 31%, 67.1%)
CIE-LABlab(18.47, 34.12, -8.49)
CIE-LCHlch(18.47, 35.16, 346.02°)
OKLaboklab(31.12% 0.1038 -0.0224)
OKLCHoklch(31.12% 0.106 347.8)
XYZxyz(4.6364, 2.6234, 4.2644)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54123A #12542C
analogous
#4D1254 #54123A #541219
triadic
#54123A #3A5412 #123A54
tetradic
#54123A #544D12 #12542C #121954
square
#54123A #544D12 #12542C #121954
split-complementary
#54123A #195412 #12544D
monochromatic
#190511 #220717 #54123A #861D5D #B92880

Accessibility & contrast

On white

13.77
#54123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#54123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54123A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54123A#FFFFFF#000000##FFFFFF
##54123A1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B263B
Deuteranopia (green-blind)
#2F3138
Tritanopia (blue-blind)
#5A0F24
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54123a;
/* rgb */ color: rgb(84, 18, 58);
/* oklch */ color: oklch(31.1% 0.106 347.8);
Tailwind
colors: {
  custom: {
    50: '#875770',
    500: '#54123a',
    950: '#000000',
  },
}
SCSS
$custom: #54123a;
$custom-light: #875770;
$custom-dark: #000000;
JSON
{
  "hex": "#54123a",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 323.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.10621,
    "h": 347.8
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#54123A
secondary
#358D58
accent
#E88240
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #54123A

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

Preview Lab → · Contrast checker → · Palette generator →

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