#5A1933#5A1933

#5A1933 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.098 H 359.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5A1933
RGBrgb(90, 25, 51)
HSLhsl(336, 57%, 23%)
HSVhsv(336, 72%, 35%)
CMYKcmyk(0%, 72.2%, 43.3%, 64.7%)
CIE-LABlab(20.47, 32.13, -0.46)
CIE-LCHlch(20.47, 32.14, 359.18°)
OKLaboklab(32.73% 0.0984 -0.0008)
OKLCHoklch(32.73% 0.098 359.5)
XYZxyz(5.1620, 3.1086, 3.4595)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1933 #195A40
analogous
#5A1954 #5A1933 #5A1F19
triadic
#5A1933 #335A19 #19335A
tetradic
#5A1933 #545A19 #195A40 #1F195A
square
#5A1933 #545A19 #195A40 #1F195A
split-complementary
#5A1933 #195A1F #19545A
monochromatic
#18070E #2A0C18 #5A1933 #8A264E #BA3469

Accessibility & contrast

On white

12.95
#5A1933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5A1933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1933
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1933#FFFFFF#000000##FFFFFF
##5A19331.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262934
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#621224
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1933;
/* rgb */ color: rgb(90, 25, 51);
/* oklch */ color: oklch(32.7% 0.098 359.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b6a',
    500: '#5a1933',
    950: '#000000',
  },
}
SCSS
$custom: #5a1933;
$custom-light: #8c5b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1933",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 336,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32728,
    "c": 0.09837,
    "h": 359.5
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#5A1933
secondary
#3E9070
accent
#E0A348
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #5A1933

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

Preview Lab → · Contrast checker → · Palette generator →

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