#541236#541236

#541236 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.104 H 351.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#541236
RGBrgb(84, 18, 54)
HSLhsl(327, 65%, 20%)
HSVhsv(327, 79%, 33%)
CMYKcmyk(0%, 78.6%, 35.7%, 67.1%)
CIE-LABlab(18.30, 33.57, -5.94)
CIE-LCHlch(18.30, 34.09, 349.97°)
OKLaboklab(30.94% 0.1027 -0.0154)
OKLCHoklch(30.94% 0.104 351.5)
XYZxyz(4.5386, 2.5843, 3.7491)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541236 #125430
analogous
#511254 #541236 #541215
triadic
#541236 #365412 #123654
tetradic
#541236 #545112 #125430 #121554
square
#541236 #545112 #125430 #121554
split-complementary
#541236 #155412 #125451
monochromatic
#190510 #220716 #541236 #861D56 #B92877

Accessibility & contrast

On white

13.84
#541236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#541236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541236
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541236#FFFFFF#000000##FFFFFF
##5412361.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2537
Deuteranopia (green-blind)
#303134
Tritanopia (blue-blind)
#5B0D22
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541236;
/* rgb */ color: rgb(84, 18, 54);
/* oklch */ color: oklch(30.9% 0.104 351.5);
Tailwind
colors: {
  custom: {
    50: '#87576d',
    500: '#541236',
    950: '#000000',
  },
}
SCSS
$custom: #541236;
$custom-light: #87576d;
$custom-dark: #000000;
JSON
{
  "hex": "#541236",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 327.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30936,
    "c": 0.10382,
    "h": 351.5
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#541236
secondary
#358D5D
accent
#E88C40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #541236

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

Preview Lab → · Contrast checker → · Palette generator →

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