#5A133B#5A133B

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

Color values

HEX#5A133B
RGBrgb(90, 19, 59)
HSLhsl(326, 65%, 21%)
HSVhsv(326, 79%, 35%)
CMYKcmyk(0%, 78.9%, 34.4%, 64.7%)
CIE-LABlab(19.87, 35.69, -6.96)
CIE-LCHlch(19.87, 36.36, 348.97°)
OKLaboklab(32.38% 0.1091 -0.0181)
OKLCHoklch(32.38% 0.111 350.6)
XYZxyz(5.2390, 2.9558, 4.4314)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A133B #135A32
analogous
#56135A #5A133B #5A1318
triadic
#5A133B #3B5A13 #133B5A
tetradic
#5A133B #5A5613 #135A32 #13185A
square
#5A133B #5A5613 #135A32 #13185A
split-complementary
#5A133B #185A13 #135A56
monochromatic
#190511 #27081A #5A133B #8D1E5C #BF287D

Accessibility & contrast

On white

13.20
#5A133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A133B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A133B#FFFFFF#000000##FFFFFF
##5A133B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#333539
Tritanopia (blue-blind)
#610E25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a133b;
/* rgb */ color: rgb(90, 19, 59);
/* oklch */ color: oklch(32.4% 0.111 350.6);
Tailwind
colors: {
  custom: {
    50: '#8c5870',
    500: '#5a133b',
    950: '#000000',
  },
}
SCSS
$custom: #5a133b;
$custom-light: #8c5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5a133b",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 326.197,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.1106,
    "h": 350.6
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#5A133B
secondary
#37925F
accent
#E88940
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A133B

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

Preview Lab → · Contrast checker → · Palette generator →

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