#5A1333#5A1333

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

Color values

HEX#5A1333
RGBrgb(90, 19, 51)
HSLhsl(333, 65%, 21%)
HSVhsv(333, 79%, 35%)
CMYKcmyk(0%, 78.9%, 43.3%, 64.7%)
CIE-LABlab(19.55, 34.69, -1.81)
CIE-LCHlch(19.55, 34.74, 357.01°)
OKLaboklab(32.05% 0.1065 -0.0043)
OKLCHoklch(32.05% 0.107 357.7)
XYZxyz(5.0472, 2.8791, 3.4213)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1333 #135A3A
analogous
#5A1357 #5A1333 #5A1713
triadic
#5A1333 #335A13 #13335A
tetradic
#5A1333 #575A13 #135A3A #17135A
square
#5A1333 #575A13 #135A3A #17135A
split-complementary
#5A1333 #135A17 #13575A
monochromatic
#19050E #270816 #5A1333 #8D1E50 #BF286C

Accessibility & contrast

On white

13.33
#5A1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1333
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1333#FFFFFF#000000##FFFFFF
##5A13331.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1333;
/* rgb */ color: rgb(90, 19, 51);
/* oklch */ color: oklch(32.0% 0.107 357.7);
Tailwind
colors: {
  custom: {
    50: '#8c586a',
    500: '#5a1333',
    950: '#000000',
  },
}
SCSS
$custom: #5a1333;
$custom-light: #8c586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1333",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 332.958,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.10657,
    "h": 357.7
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#5A1333
secondary
#379269
accent
#E89C40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1333

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

Preview Lab → · Contrast checker → · Palette generator →

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