#5A133F#5A133F

#5A133F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.113 H 347.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5A133F
RGBrgb(90, 19, 63)
HSLhsl(323, 65%, 21%)
HSVhsv(323, 79%, 35%)
CMYKcmyk(0%, 78.9%, 30%, 64.7%)
CIE-LABlab(20.04, 36.24, -9.48)
CIE-LCHlch(20.04, 37.46, 345.34°)
OKLaboklab(32.56% 0.1102 -0.025)
OKLCHoklch(32.56% 0.113 347.2)
XYZxyz(5.3468, 2.9989, 4.9989)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A133F #135A2E
analogous
#52135A #5A133F #5A131C
triadic
#5A133F #3F5A13 #133F5A
tetradic
#5A133F #5A5213 #135A2E #131C5A
square
#5A133F #5A5213 #135A2E #131C5A
split-complementary
#5A133F #1C5A13 #135A52
monochromatic
#190512 #27081C #5A133F #8D1E62 #BF2886

Accessibility & contrast

On white

13.13
#5A133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A133F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A133F#FFFFFF#000000##FFFFFF
##5A133F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#32353D
Tritanopia (blue-blind)
#611027
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a133f;
/* rgb */ color: rgb(90, 19, 63);
/* oklch */ color: oklch(32.6% 0.113 347.2);
Tailwind
colors: {
  custom: {
    50: '#8c5874',
    500: '#5a133f',
    950: '#000000',
  },
}
SCSS
$custom: #5a133f;
$custom-light: #8c5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5a133f",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 322.817,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.113,
    "h": 347.2
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#5A133F
secondary
#379259
accent
#E88040
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A133F

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

Preview Lab → · Contrast checker → · Palette generator →

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