#5A133D#5A133D

#5A133D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.112 H 348.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5A133D
RGBrgb(90, 19, 61)
HSLhsl(325, 65%, 21%)
HSVhsv(325, 79%, 35%)
CMYKcmyk(0%, 78.9%, 32.2%, 64.7%)
CIE-LABlab(19.95, 35.96, -8.22)
CIE-LCHlch(19.95, 36.89, 347.12°)
OKLaboklab(32.47% 0.1097 -0.0216)
OKLCHoklch(32.47% 0.112 348.9)
XYZxyz(5.2919, 2.9769, 4.7099)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A133D #135A30
analogous
#54135A #5A133D #5A131A
triadic
#5A133D #3D5A13 #133D5A
tetradic
#5A133D #5A5413 #135A30 #131A5A
square
#5A133D #5A5413 #135A30 #131A5A
split-complementary
#5A133D #1A5A13 #135A54
monochromatic
#190511 #27081B #5A133D #8D1E5F #BF2882

Accessibility & contrast

On white

13.16
#5A133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A133D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A133D#FFFFFF#000000##FFFFFF
##5A133D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#33353B
Tritanopia (blue-blind)
#610F26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a133d;
/* rgb */ color: rgb(90, 19, 61);
/* oklch */ color: oklch(32.5% 0.112 348.9);
Tailwind
colors: {
  custom: {
    50: '#8c5872',
    500: '#5a133d',
    950: '#000000',
  },
}
SCSS
$custom: #5a133d;
$custom-light: #8c5872;
$custom-dark: #000000;
JSON
{
  "hex": "#5a133d",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 324.507,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.11177,
    "h": 348.9
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#5A133D
secondary
#37925C
accent
#E88440
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A133D

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

Preview Lab → · Contrast checker → · Palette generator →

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