#541232#541232

#541232 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.102 H 355.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#541232
RGBrgb(84, 18, 50)
HSLhsl(331, 65%, 20%)
HSVhsv(331, 79%, 33%)
CMYKcmyk(0%, 78.6%, 40.5%, 67.1%)
CIE-LABlab(18.14, 33.05, -3.34)
CIE-LCHlch(18.14, 33.22, 354.23°)
OKLaboklab(30.77% 0.1014 -0.0084)
OKLCHoklch(30.77% 0.102 355.3)
XYZxyz(4.4485, 2.5483, 3.2746)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541232 #125434
analogous
#541253 #541232 #541312
triadic
#541232 #325412 #123254
tetradic
#541232 #535412 #125434 #131254
square
#541232 #535412 #125434 #131254
split-complementary
#541232 #125413 #125354
monochromatic
#19050F #220714 #541232 #861D50 #B9286E

Accessibility & contrast

On white

13.91
#541232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541232
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541232#FFFFFF#000000##FFFFFF
##5412321.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2533
Deuteranopia (green-blind)
#313130
Tritanopia (blue-blind)
#5B0B20
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541232;
/* rgb */ color: rgb(84, 18, 50);
/* oklch */ color: oklch(30.8% 0.102 355.3);
Tailwind
colors: {
  custom: {
    50: '#885669',
    500: '#541232',
    950: '#000000',
  },
}
SCSS
$custom: #541232;
$custom-light: #885669;
$custom-dark: #000000;
JSON
{
  "hex": "#541232",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 330.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30766,
    "c": 0.10172,
    "h": 355.3
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#541232
secondary
#358D62
accent
#E89640
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541232

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

Preview Lab → · Contrast checker → · Palette generator →

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