#541234#541234

#541234 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.103 H 353.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#541234
RGBrgb(84, 18, 52)
HSLhsl(329, 65%, 20%)
HSVhsv(329, 79%, 33%)
CMYKcmyk(0%, 78.6%, 38.1%, 67.1%)
CIE-LABlab(18.21, 33.31, -4.64)
CIE-LCHlch(18.21, 33.63, 352.06°)
OKLaboklab(30.85% 0.102 -0.0119)
OKLCHoklch(30.85% 0.103 353.4)
XYZxyz(4.4926, 2.5659, 3.5068)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541234 #125432
analogous
#531254 #541234 #541213
triadic
#541234 #345412 #123454
tetradic
#541234 #545312 #125432 #121354
square
#541234 #545312 #125432 #121354
split-complementary
#541234 #135412 #125453
monochromatic
#190510 #220715 #541234 #861D53 #B92872

Accessibility & contrast

On white

13.88
#541234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#541234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541234
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541234#FFFFFF#000000##FFFFFF
##5412341.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2535
Deuteranopia (green-blind)
#303132
Tritanopia (blue-blind)
#5B0C21
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541234;
/* rgb */ color: rgb(84, 18, 52);
/* oklch */ color: oklch(30.8% 0.103 353.4);
Tailwind
colors: {
  custom: {
    50: '#87576b',
    500: '#541234',
    950: '#000000',
  },
}
SCSS
$custom: #541234;
$custom-light: #87576b;
$custom-dark: #000000;
JSON
{
  "hex": "#541234",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 329.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.10273,
    "h": 353.4
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#541234
secondary
#358D60
accent
#E89140
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541234

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

Preview Lab → · Contrast checker → · Palette generator →

#541234 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva