#541138#541138

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

Color values

HEX#541138
RGBrgb(84, 17, 56)
HSLhsl(325, 66%, 20%)
HSVhsv(325, 80%, 33%)
CMYKcmyk(0%, 79.8%, 33.3%, 67.1%)
CIE-LABlab(18.24, 34.24, -7.43)
CIE-LCHlch(18.24, 35.03, 347.75°)
OKLaboklab(30.92% 0.1045 -0.0194)
OKLCHoklch(30.92% 0.106 349.5)
XYZxyz(4.5707, 2.5718, 3.9963)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541138 #11542D
analogous
#4F1154 #541138 #541116
triadic
#541138 #385411 #113854
tetradic
#541138 #544F11 #11542D #111654
square
#541138 #544F11 #11542D #111654
split-complementary
#541138 #165411 #11544F
monochromatic
#190511 #210716 #541138 #871B5A #BA267C

Accessibility & contrast

On white

13.87
#541138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541138
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541138#FFFFFF#000000##FFFFFF
##5411381.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541138;
/* rgb */ color: rgb(84, 17, 56);
/* oklch */ color: oklch(30.9% 0.106 349.5);
Tailwind
colors: {
  custom: {
    50: '#87566e',
    500: '#541138',
    950: '#000000',
  },
}
SCSS
$custom: #541138;
$custom-light: #87566e;
$custom-dark: #000000;
JSON
{
  "hex": "#541138",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 325.075,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30923,
    "c": 0.1063,
    "h": 349.5
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#541138
secondary
#348D59
accent
#E9863F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #541138

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

Preview Lab → · Contrast checker → · Palette generator →

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