#541248#541248

#541248 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.116 H 336.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#541248
RGBrgb(84, 18, 72)
HSLhsl(311, 65%, 20%)
HSVhsv(311, 79%, 33%)
CMYKcmyk(0%, 78.6%, 14.3%, 67.1%)
CIE-LABlab(19.16, 36.30, -17.14)
CIE-LCHlch(19.16, 40.14, 334.72°)
OKLaboklab(31.85% 0.1066 -0.0467)
OKLCHoklch(31.85% 0.116 336.3)
XYZxyz(5.0422, 2.7858, 6.4018)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541248 #12541E
analogous
#3F1254 #541248 #541227
triadic
#541248 #485412 #124854
tetradic
#541248 #543F12 #12541E #122754
square
#541248 #543F12 #12541E #122754
split-complementary
#541248 #275412 #12543F
monochromatic
#190516 #22071D #541248 #861D73 #B9289E

Accessibility & contrast

On white

13.49
#541248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#541248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541248
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541248#FFFFFF#000000##FFFFFF
##5412481.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132849
Deuteranopia (green-blind)
#2A3246
Tritanopia (blue-blind)
#59162B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541248;
/* rgb */ color: rgb(84, 18, 72);
/* oklch */ color: oklch(31.9% 0.116 336.3);
Tailwind
colors: {
  custom: {
    50: '#87577b',
    500: '#541248',
    950: '#000000',
  },
}
SCSS
$custom: #541248;
$custom-light: #87577b;
$custom-dark: #000000;
JSON
{
  "hex": "#541248",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 310.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.11634,
    "h": 336.3
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#541248
secondary
#358D45
accent
#E85F40
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #541248

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

Preview Lab → · Contrast checker → · Palette generator →

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