#5A1033#5A1033

#5A1033 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 357.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#5A1033
RGBrgb(90, 16, 51)
HSLhsl(332, 70%, 21%)
HSVhsv(332, 82%, 35%)
CMYKcmyk(0%, 82.2%, 43.3%, 64.7%)
CIE-LABlab(19.16, 35.80, -2.40)
CIE-LCHlch(19.16, 35.88, 356.17°)
OKLaboklab(31.76% 0.11 -0.0058)
OKLCHoklch(31.76% 0.11 357)
XYZxyz(4.9996, 2.7839, 3.4054)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1033 #105A37
analogous
#5A1058 #5A1033 #5A1210
triadic
#5A1033 #335A10 #10335A
tetradic
#5A1033 #585A10 #105A37 #12105A
square
#5A1033 #585A10 #105A37 #12105A
split-complementary
#5A1033 #105A12 #10585A
monochromatic
#1A050F #260716 #5A1033 #8E1950 #C2226E

Accessibility & contrast

On white

13.49
#5A1033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1033 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1033
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1033#FFFFFF#000000##FFFFFF
##5A10331.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#343331
Tritanopia (blue-blind)
#620620
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1033;
/* rgb */ color: rgb(90, 16, 51);
/* oklch */ color: oklch(31.8% 0.110 357.0);
Tailwind
colors: {
  custom: {
    50: '#8d576a',
    500: '#5a1033',
    950: '#000000',
  },
}
SCSS
$custom: #5a1033;
$custom-light: #8d576a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1033",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 331.622,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.1102,
    "h": 357
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#5A1033
secondary
#339366
accent
#ED993B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A1033

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

Preview Lab → · Contrast checker → · Palette generator →

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