#541230#541230

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

Color values

HEX#541230
RGBrgb(84, 18, 48)
HSLhsl(333, 65%, 20%)
HSVhsv(333, 79%, 33%)
CMYKcmyk(0%, 78.6%, 42.9%, 67.1%)
CIE-LABlab(18.06, 32.81, -2.03)
CIE-LCHlch(18.06, 32.87, 356.46°)
OKLaboklab(30.69% 0.1007 -0.0049)
OKLCHoklch(30.69% 0.101 357.2)
XYZxyz(4.4063, 2.5314, 3.0523)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541230 #125436
analogous
#541251 #541230 #541512
triadic
#541230 #305412 #123054
tetradic
#541230 #515412 #125436 #151254
square
#541230 #515412 #125436 #151254
split-complementary
#541230 #125415 #125154
monochromatic
#19050E #220713 #541230 #861D4D #B9286A

Accessibility & contrast

On white

13.94
#541230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541230
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541230#FFFFFF#000000##FFFFFF
##5412301.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2431
Deuteranopia (green-blind)
#31312E
Tritanopia (blue-blind)
#5B0A1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #541230;
/* rgb */ color: rgb(84, 18, 48);
/* oklch */ color: oklch(30.7% 0.101 357.2);
Tailwind
colors: {
  custom: {
    50: '#885668',
    500: '#541230',
    950: '#000000',
  },
}
SCSS
$custom: #541230;
$custom-light: #885668;
$custom-dark: #000000;
JSON
{
  "hex": "#541230",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 332.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.10078,
    "h": 357.2
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#541230
secondary
#358D65
accent
#E89C40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #541230

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

Preview Lab → · Contrast checker → · Palette generator →

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