#541229#541229

#541229 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.098 H 4.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#541229
RGBrgb(84, 18, 41)
HSLhsl(339, 65%, 20%)
HSVhsv(339, 79%, 33%)
CMYKcmyk(0%, 78.6%, 51.2%, 67.1%)
CIE-LABlab(17.82, 32.01, 2.62)
CIE-LCHlch(17.82, 32.12, 4.68°)
OKLaboklab(30.43% 0.0979 0.007)
OKLCHoklch(30.43% 0.098 4.1)
XYZxyz(4.2730, 2.4781, 2.3507)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541229 #12543D
analogous
#54124A #541229 #541C12
triadic
#541229 #295412 #122954
tetradic
#541229 #4A5412 #12543D #1C1254
square
#541229 #4A5412 #12543D #1C1254
split-complementary
#541229 #12541C #124A54
monochromatic
#19050C #220710 #541229 #861D42 #B9285A

Accessibility & contrast

On white

14.04
#541229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#541229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541229
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541229#FFFFFF#000000##FFFFFF
##5412291.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232A
Deuteranopia (green-blind)
#333027
Tritanopia (blue-blind)
#5C061C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541229;
/* rgb */ color: rgb(84, 18, 41);
/* oklch */ color: oklch(30.4% 0.098 4.1);
Tailwind
colors: {
  custom: {
    50: '#885662',
    500: '#541229',
    950: '#000000',
  },
}
SCSS
$custom: #541229;
$custom-light: #885662;
$custom-dark: #000000;
JSON
{
  "hex": "#541229",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 339.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.09817,
    "h": 4.1
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#541229
secondary
#358D6E
accent
#E8AD40
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #541229

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

Preview Lab → · Contrast checker → · Palette generator →

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