#54123F#54123F

#54123F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.110 H 343.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#54123F
RGBrgb(84, 18, 63)
HSLhsl(319, 65%, 20%)
HSVhsv(319, 79%, 33%)
CMYKcmyk(0%, 78.6%, 25%, 67.1%)
CIE-LABlab(18.70, 34.86, -11.63)
CIE-LCHlch(18.70, 36.75, 341.54°)
OKLaboklab(31.36% 0.105 -0.0311)
OKLCHoklch(31.36% 0.11 343.5)
XYZxyz(4.7698, 2.6768, 4.9671)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54123F #125427
analogous
#481254 #54123F #54121E
triadic
#54123F #3F5412 #123F54
tetradic
#54123F #544812 #125427 #121E54
square
#54123F #544812 #125427 #121E54
split-complementary
#54123F #1E5412 #125448
monochromatic
#190513 #220719 #54123F #861D65 #B9288B

Accessibility & contrast

On white

13.68
#54123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#54123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54123F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54123F#FFFFFF#000000##FFFFFF
##54123F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192740
Deuteranopia (green-blind)
#2D313D
Tritanopia (blue-blind)
#5A1226
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54123f;
/* rgb */ color: rgb(84, 18, 63);
/* oklch */ color: oklch(31.4% 0.110 343.5);
Tailwind
colors: {
  custom: {
    50: '#875774',
    500: '#54123f',
    950: '#000000',
  },
}
SCSS
$custom: #54123f;
$custom-light: #875774;
$custom-dark: #000000;
JSON
{
  "hex": "#54123f",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 319.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31364,
    "c": 0.10954,
    "h": 343.5
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#54123F
secondary
#358D51
accent
#E87540
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #54123F

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

Preview Lab → · Contrast checker → · Palette generator →

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