#5A1034#5A1034

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

Color values

HEX#5A1034
RGBrgb(90, 16, 52)
HSLhsl(331, 70%, 21%)
HSVhsv(331, 82%, 35%)
CMYKcmyk(0%, 82.2%, 42.2%, 64.7%)
CIE-LABlab(19.19, 35.92, -3.05)
CIE-LCHlch(19.19, 36.05, 355.15°)
OKLaboklab(31.8% 0.1104 -0.0076)
OKLCHoklch(31.8% 0.111 356.1)
XYZxyz(5.0219, 2.7928, 3.5228)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1034 #105A36
analogous
#5A1059 #5A1034 #5A1110
triadic
#5A1034 #345A10 #10345A
tetradic
#5A1034 #595A10 #105A36 #11105A
square
#5A1034 #595A10 #105A36 #11105A
split-complementary
#5A1034 #105A11 #10595A
monochromatic
#1A050F #260716 #5A1034 #8E1952 #C22270

Accessibility & contrast

On white

13.48
#5A1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1034
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1034#FFFFFF#000000##FFFFFF
##5A10341.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2635
Deuteranopia (green-blind)
#343432
Tritanopia (blue-blind)
#620620
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1034;
/* rgb */ color: rgb(90, 16, 52);
/* oklch */ color: oklch(31.8% 0.111 356.1);
Tailwind
colors: {
  custom: {
    50: '#8c576b',
    500: '#5a1034',
    950: '#000000',
  },
}
SCSS
$custom: #5a1034;
$custom-light: #8c576b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1034",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 330.811,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.11064,
    "h": 356.1
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#5A1034
secondary
#339364
accent
#ED963B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0306
muted
#7D787A

Preview Lab

Preview with #5A1034

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

Preview Lab → · Contrast checker → · Palette generator →

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