#5A1334#5A1334

#5A1334 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.107 H 356.8°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5A1334
RGBrgb(90, 19, 52)
HSLhsl(332, 65%, 21%)
HSVhsv(332, 79%, 35%)
CMYKcmyk(0%, 78.9%, 42.2%, 64.7%)
CIE-LABlab(19.59, 34.81, -2.46)
CIE-LCHlch(19.59, 34.89, 355.95°)
OKLaboklab(32.09% 0.1068 -0.006)
OKLCHoklch(32.09% 0.107 356.8)
XYZxyz(5.0695, 2.8880, 3.5386)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1334 #135A39
analogous
#5A1358 #5A1334 #5A1613
triadic
#5A1334 #345A13 #13345A
tetradic
#5A1334 #585A13 #135A39 #16135A
square
#5A1334 #585A13 #135A39 #16135A
split-complementary
#5A1334 #135A16 #13585A
monochromatic
#19050F #270817 #5A1334 #8D1E51 #BF286E

Accessibility & contrast

On white

13.31
#5A1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1334
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1334#FFFFFF#000000##FFFFFF
##5A13341.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212735
Deuteranopia (green-blind)
#353432
Tritanopia (blue-blind)
#620A21
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1334;
/* rgb */ color: rgb(90, 19, 52);
/* oklch */ color: oklch(32.1% 0.107 356.8);
Tailwind
colors: {
  custom: {
    50: '#8c586b',
    500: '#5a1334',
    950: '#000000',
  },
}
SCSS
$custom: #5a1334;
$custom-light: #8c586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1334",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 332.113,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32088,
    "c": 0.10701,
    "h": 356.8
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#5A1334
secondary
#379268
accent
#E89A40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1334

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

Preview Lab → · Contrast checker → · Palette generator →

#5A1334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva