#541235#541235

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

Color values

HEX#541235
RGBrgb(84, 18, 53)
HSLhsl(328, 65%, 20%)
HSVhsv(328, 79%, 33%)
CMYKcmyk(0%, 78.6%, 36.9%, 67.1%)
CIE-LABlab(18.25, 33.44, -5.29)
CIE-LCHlch(18.25, 33.85, 351.01°)
OKLaboklab(30.89% 0.1024 -0.0136)
OKLCHoklch(30.89% 0.103 352.4)
XYZxyz(4.5153, 2.5750, 3.6267)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541235 #125431
analogous
#521254 #541235 #541214
triadic
#541235 #355412 #123554
tetradic
#541235 #545212 #125431 #121454
square
#541235 #545212 #125431 #121454
split-complementary
#541235 #145412 #125452
monochromatic
#190510 #220715 #541235 #861D55 #B92875

Accessibility & contrast

On white

13.86
#541235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541235
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541235#FFFFFF#000000##FFFFFF
##5412351.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2536
Deuteranopia (green-blind)
#303133
Tritanopia (blue-blind)
#5B0D21
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541235;
/* rgb */ color: rgb(84, 18, 53);
/* oklch */ color: oklch(30.9% 0.103 352.4);
Tailwind
colors: {
  custom: {
    50: '#87576c',
    500: '#541235',
    950: '#000000',
  },
}
SCSS
$custom: #541235;
$custom-light: #87576c;
$custom-dark: #000000;
JSON
{
  "hex": "#541235",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 328.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.10326,
    "h": 352.4
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#541235
secondary
#358D5E
accent
#E88F40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541235

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

Preview Lab → · Contrast checker → · Palette generator →

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