#541238#541238

#541238 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.105 H 349.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#541238
RGBrgb(84, 18, 56)
HSLhsl(325, 65%, 20%)
HSVhsv(325, 79%, 33%)
CMYKcmyk(0%, 78.6%, 33.3%, 67.1%)
CIE-LABlab(18.38, 33.84, -7.22)
CIE-LCHlch(18.38, 34.60, 347.96°)
OKLaboklab(31.03% 0.1033 -0.0189)
OKLCHoklch(31.03% 0.105 349.7)
XYZxyz(4.5865, 2.6035, 4.0016)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541238 #12542E
analogous
#4F1254 #541238 #541217
triadic
#541238 #385412 #123854
tetradic
#541238 #544F12 #12542E #121754
square
#541238 #544F12 #12542E #121754
split-complementary
#541238 #175412 #12544F
monochromatic
#190511 #220716 #541238 #861D5A #B9287B

Accessibility & contrast

On white

13.81
#541238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541238
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541238#FFFFFF#000000##FFFFFF
##5412381.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541238;
/* rgb */ color: rgb(84, 18, 56);
/* oklch */ color: oklch(31.0% 0.105 349.7);
Tailwind
colors: {
  custom: {
    50: '#87576e',
    500: '#541238',
    950: '#000000',
  },
}
SCSS
$custom: #541238;
$custom-light: #87576e;
$custom-dark: #000000;
JSON
{
  "hex": "#541238",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 325.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31026,
    "c": 0.10498,
    "h": 349.7
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#541238
secondary
#358D5A
accent
#E88740
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #541238

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

Preview Lab → · Contrast checker → · Palette generator →

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