#541127#541127

#541127 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.099 H 5.7°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#541127
RGBrgb(84, 17, 39)
HSLhsl(340, 66%, 20%)
HSVhsv(340, 80%, 33%)
CMYKcmyk(0%, 79.8%, 53.6%, 67.1%)
CIE-LABlab(17.61, 32.22, 3.76)
CIE-LCHlch(17.61, 32.43, 6.65°)
OKLaboklab(30.26% 0.0984 0.0099)
OKLCHoklch(30.26% 0.099 5.7)
XYZxyz(4.2232, 2.4328, 2.1662)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541127 #11543E
analogous
#541148 #541127 #541D11
triadic
#541127 #275411 #112754
tetradic
#541127 #485411 #11543E #1D1154
square
#541127 #485411 #11543E #1D1154
split-complementary
#541127 #11541D #114854
monochromatic
#19050C #21070F #541127 #871B3F #BA2656

Accessibility & contrast

On white

14.13
#541127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#541127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541127
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541127#FFFFFF#000000##FFFFFF
##5411271.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212327
Deuteranopia (green-blind)
#333025
Tritanopia (blue-blind)
#5C041A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #541127;
/* rgb */ color: rgb(84, 17, 39);
/* oklch */ color: oklch(30.3% 0.099 5.7);
Tailwind
colors: {
  custom: {
    50: '#885660',
    500: '#541127',
    950: '#000000',
  },
}
SCSS
$custom: #541127;
$custom-light: #885660;
$custom-dark: #000000;
JSON
{
  "hex": "#541127",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 340.299,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30256,
    "c": 0.09887,
    "h": 5.7
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#541127
secondary
#348D70
accent
#E9B13F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #541127

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

Preview Lab → · Contrast checker → · Palette generator →

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