#5A133E#5A133E

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

Color values

HEX#5A133E
RGBrgb(90, 19, 62)
HSLhsl(324, 65%, 21%)
HSVhsv(324, 79%, 35%)
CMYKcmyk(0%, 78.9%, 31.1%, 64.7%)
CIE-LABlab(20.00, 36.10, -8.85)
CIE-LCHlch(20.00, 37.17, 346.22°)
OKLaboklab(32.52% 0.1099 -0.0233)
OKLCHoklch(32.52% 0.112 348)
XYZxyz(5.3191, 2.9878, 4.8531)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A133E #135A2F
analogous
#53135A #5A133E #5A131B
triadic
#5A133E #3E5A13 #133E5A
tetradic
#5A133E #5A5313 #135A2F #131B5A
square
#5A133E #5A5313 #135A2F #131B5A
split-complementary
#5A133E #1B5A13 #135A53
monochromatic
#190511 #27081B #5A133E #8D1E61 #BF2884

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A133E#FFFFFF#000000##FFFFFF
##5A133E1.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)
#1D283F
Deuteranopia (green-blind)
#32353C
Tritanopia (blue-blind)
#611026
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a133e;
/* rgb */ color: rgb(90, 19, 62);
/* oklch */ color: oklch(32.5% 0.112 348.0);
Tailwind
colors: {
  custom: {
    50: '#8c5873',
    500: '#5a133e',
    950: '#000000',
  },
}
SCSS
$custom: #5a133e;
$custom-light: #8c5873;
$custom-dark: #000000;
JSON
{
  "hex": "#5a133e",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 323.662,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32517,
    "c": 0.11238,
    "h": 348
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#5A133E
secondary
#37925B
accent
#E88240
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A133E

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

Preview Lab → · Contrast checker → · Palette generator →

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