#5A1633#5A1633

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

Color values

HEX#5A1633
RGBrgb(90, 22, 51)
HSLhsl(334, 61%, 22%)
HSVhsv(334, 76%, 35%)
CMYKcmyk(0%, 75.6%, 43.3%, 64.7%)
CIE-LABlab(19.99, 33.47, -1.17)
CIE-LCHlch(19.99, 33.49, 358.00°)
OKLaboklab(32.37% 0.1026 -0.0026)
OKLCHoklch(32.37% 0.103 358.5)
XYZxyz(5.1013, 2.9871, 3.4393)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1633 #165A3D
analogous
#5A1655 #5A1633 #5A1B16
triadic
#5A1633 #335A16 #16335A
tetradic
#5A1633 #555A16 #165A3D #1B165A
square
#5A1633 #555A16 #165A3D #1B165A
split-complementary
#5A1633 #165A1B #16555A
monochromatic
#19060E #290A17 #5A1633 #8B224F #BC2E6B

Accessibility & contrast

On white

13.15
#5A1633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1633
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1633#FFFFFF#000000##FFFFFF
##5A16331.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242834
Deuteranopia (green-blind)
#363531
Tritanopia (blue-blind)
#620E22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1633;
/* rgb */ color: rgb(90, 22, 51);
/* oklch */ color: oklch(32.4% 0.103 358.5);
Tailwind
colors: {
  custom: {
    50: '#8c596a',
    500: '#5a1633',
    950: '#000000',
  },
}
SCSS
$custom: #5a1633;
$custom-light: #8c596a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1633",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 334.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.10261,
    "h": 358.5
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#5A1633
secondary
#3B916C
accent
#E4A044
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1633

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

Preview Lab → · Contrast checker → · Palette generator →

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