#541233#541233

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

Color values

HEX#541233
RGBrgb(84, 18, 51)
HSLhsl(330, 65%, 20%)
HSVhsv(330, 79%, 33%)
CMYKcmyk(0%, 78.6%, 39.3%, 67.1%)
CIE-LABlab(18.17, 33.18, -3.99)
CIE-LCHlch(18.17, 33.42, 353.14°)
OKLaboklab(30.81% 0.1017 -0.0101)
OKLCHoklch(30.81% 0.102 354.3)
XYZxyz(4.4703, 2.5570, 3.3895)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541233 #125433
analogous
#541254 #541233 #541212
triadic
#541233 #335412 #123354
tetradic
#541233 #545412 #125433 #121254
square
#541233 #545412 #125433 #121254
split-complementary
#541233 #125412 #125454
monochromatic
#19050F #220714 #541233 #861D52 #B92870

Accessibility & contrast

On white

13.90
#541233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541233
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541233#FFFFFF#000000##FFFFFF
##5412331.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2534
Deuteranopia (green-blind)
#313131
Tritanopia (blue-blind)
#5B0C20
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541233;
/* rgb */ color: rgb(84, 18, 51);
/* oklch */ color: oklch(30.8% 0.102 354.3);
Tailwind
colors: {
  custom: {
    50: '#87576a',
    500: '#541233',
    950: '#000000',
  },
}
SCSS
$custom: #541233;
$custom-light: #87576a;
$custom-dark: #000000;
JSON
{
  "hex": "#541233",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 330,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.10221,
    "h": 354.3
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#541233
secondary
#358D61
accent
#E89440
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541233

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

Preview Lab → · Contrast checker → · Palette generator →

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