#5A1635#5A1635

#5A1635 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.103 H 356.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5A1635
RGBrgb(90, 22, 53)
HSLhsl(333, 61%, 22%)
HSVhsv(333, 76%, 35%)
CMYKcmyk(0%, 75.6%, 41.1%, 64.7%)
CIE-LABlab(20.06, 33.71, -2.46)
CIE-LCHlch(20.06, 33.80, 355.82°)
OKLaboklab(32.45% 0.1033 -0.006)
OKLCHoklch(32.45% 0.104 356.6)
XYZxyz(5.1463, 3.0051, 3.6765)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1635 #165A3B
analogous
#5A1657 #5A1635 #5A1916
triadic
#5A1635 #355A16 #16355A
tetradic
#5A1635 #575A16 #165A3B #19165A
square
#5A1635 #575A16 #165A3B #19165A
split-complementary
#5A1635 #165A19 #16575A
monochromatic
#19060E #290A18 #5A1635 #8B2252 #BC2E6F

Accessibility & contrast

On white

13.12
#5A1635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A1635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1635
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1635#FFFFFF#000000##FFFFFF
##5A16351.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232836
Deuteranopia (green-blind)
#363533
Tritanopia (blue-blind)
#620F23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1635;
/* rgb */ color: rgb(90, 22, 53);
/* oklch */ color: oklch(32.4% 0.103 356.6);
Tailwind
colors: {
  custom: {
    50: '#8c596c',
    500: '#5a1635',
    950: '#000000',
  },
}
SCSS
$custom: #5a1635;
$custom-light: #8c596c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1635",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 332.647,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.1035,
    "h": 356.6
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#5A1635
secondary
#3B916A
accent
#E49B44
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #5A1635

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

Preview Lab → · Contrast checker → · Palette generator →

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