#5A1433#5A1433

#5A1433 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.105 H 357.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5A1433
RGBrgb(90, 20, 51)
HSLhsl(333, 64%, 22%)
HSVhsv(333, 78%, 35%)
CMYKcmyk(0%, 77.8%, 43.3%, 64.7%)
CIE-LABlab(19.69, 34.29, -1.60)
CIE-LCHlch(19.69, 34.33, 357.32°)
OKLaboklab(32.15% 0.1052 -0.0038)
OKLCHoklch(32.15% 0.105 357.9)
XYZxyz(5.0645, 2.9136, 3.4270)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1433 #145A3B
analogous
#5A1456 #5A1433 #5A1814
triadic
#5A1433 #335A14 #14335A
tetradic
#5A1433 #565A14 #145A3B #18145A
square
#5A1433 #565A14 #145A3B #18145A
split-complementary
#5A1433 #145A18 #14565A
monochromatic
#19060E #280917 #5A1433 #8C1F4F #BE2A6C

Accessibility & contrast

On white

13.27
#5A1433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1433
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1433#FFFFFF#000000##FFFFFF
##5A14331.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#353431
Tritanopia (blue-blind)
#620B21
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1433;
/* rgb */ color: rgb(90, 20, 51);
/* oklch */ color: oklch(32.2% 0.105 357.9);
Tailwind
colors: {
  custom: {
    50: '#8c586a',
    500: '#5a1433',
    950: '#000000',
  },
}
SCSS
$custom: #5a1433;
$custom-light: #8c586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1433",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 51
  },
  "hsl": {
    "h": 333.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32153,
    "c": 0.10529,
    "h": 357.9
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#5A1433
secondary
#38926A
accent
#E79D41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1433

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

Preview Lab → · Contrast checker → · Palette generator →

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