#541231#541231

#541231 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.101 H 356.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#541231
RGBrgb(84, 18, 49)
HSLhsl(332, 65%, 20%)
HSVhsv(332, 79%, 33%)
CMYKcmyk(0%, 78.6%, 41.7%, 67.1%)
CIE-LABlab(18.10, 32.93, -2.69)
CIE-LCHlch(18.10, 33.04, 355.33°)
OKLaboklab(30.73% 0.101 -0.0067)
OKLCHoklch(30.73% 0.101 356.2)
XYZxyz(4.4271, 2.5397, 3.1622)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541231 #125435
analogous
#541252 #541231 #541412
triadic
#541231 #315412 #123154
tetradic
#541231 #525412 #125435 #141254
square
#541231 #525412 #125435 #141254
split-complementary
#541231 #125414 #125254
monochromatic
#19050F #220714 #541231 #861D4E #B9286C

Accessibility & contrast

On white

13.93
#541231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541231
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541231#FFFFFF#000000##FFFFFF
##5412311.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2432
Deuteranopia (green-blind)
#31312F
Tritanopia (blue-blind)
#5B0B1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541231;
/* rgb */ color: rgb(84, 18, 49);
/* oklch */ color: oklch(30.7% 0.101 356.2);
Tailwind
colors: {
  custom: {
    50: '#885669',
    500: '#541231',
    950: '#000000',
  },
}
SCSS
$custom: #541231;
$custom-light: #885669;
$custom-dark: #000000;
JSON
{
  "hex": "#541231",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 331.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30725,
    "c": 0.10124,
    "h": 356.2
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#541231
secondary
#358D64
accent
#E89940
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541231

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

Preview Lab → · Contrast checker → · Palette generator →

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