#541237#541237

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

Color values

HEX#541237
RGBrgb(84, 18, 55)
HSLhsl(326, 65%, 20%)
HSVhsv(326, 79%, 33%)
CMYKcmyk(0%, 78.6%, 34.5%, 67.1%)
CIE-LABlab(18.34, 33.71, -6.58)
CIE-LCHlch(18.34, 34.34, 348.96°)
OKLaboklab(30.98% 0.103 -0.0171)
OKLCHoklch(30.98% 0.104 350.6)
XYZxyz(4.5623, 2.5938, 3.8741)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541237 #12542F
analogous
#501254 #541237 #541216
triadic
#541237 #375412 #123754
tetradic
#541237 #545012 #12542F #121654
square
#541237 #545012 #12542F #121654
split-complementary
#541237 #165412 #125450
monochromatic
#190510 #220716 #541237 #861D58 #B92879

Accessibility & contrast

On white

13.83
#541237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541237
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541237#FFFFFF#000000##FFFFFF
##5412371.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2538
Deuteranopia (green-blind)
#303135
Tritanopia (blue-blind)
#5B0E22
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541237;
/* rgb */ color: rgb(84, 18, 55);
/* oklch */ color: oklch(31.0% 0.104 350.6);
Tailwind
colors: {
  custom: {
    50: '#87576d',
    500: '#541237',
    950: '#000000',
  },
}
SCSS
$custom: #541237;
$custom-light: #87576d;
$custom-dark: #000000;
JSON
{
  "hex": "#541237",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 326.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.10439,
    "h": 350.6
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#541237
secondary
#358D5C
accent
#E88A40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #541237

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

Preview Lab → · Contrast checker → · Palette generator →

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