#54123E#54123E

#54123E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 344.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#54123E
RGBrgb(84, 18, 62)
HSLhsl(320, 65%, 20%)
HSVhsv(320, 79%, 33%)
CMYKcmyk(0%, 78.6%, 26.2%, 67.1%)
CIE-LABlab(18.65, 34.71, -11.01)
CIE-LCHlch(18.65, 36.41, 342.40°)
OKLaboklab(31.31% 0.1048 -0.0293)
OKLCHoklch(31.31% 0.109 344.4)
XYZxyz(4.7421, 2.6657, 4.8213)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54123E #125428
analogous
#491254 #54123E #54121D
triadic
#54123E #3E5412 #123E54
tetradic
#54123E #544912 #125428 #121D54
square
#54123E #544912 #125428 #121D54
split-complementary
#54123E #1D5412 #125449
monochromatic
#190513 #220719 #54123E #861D63 #B92888

Accessibility & contrast

On white

13.70
#54123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54123E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54123E#FFFFFF#000000##FFFFFF
##54123E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#2E313C
Tritanopia (blue-blind)
#5A1126
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54123e;
/* rgb */ color: rgb(84, 18, 62);
/* oklch */ color: oklch(31.3% 0.109 344.4);
Tailwind
colors: {
  custom: {
    50: '#875773',
    500: '#54123e',
    950: '#000000',
  },
}
SCSS
$custom: #54123e;
$custom-light: #875773;
$custom-dark: #000000;
JSON
{
  "hex": "#54123e",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 320,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31313,
    "c": 0.10885,
    "h": 344.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#54123E
secondary
#358D52
accent
#E87840
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #54123E

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

Preview Lab → · Contrast checker → · Palette generator →

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