#5A132D#5A132D

#5A132D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.104 H 3.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5A132D
RGBrgb(90, 19, 45)
HSLhsl(338, 65%, 21%)
HSVhsv(338, 79%, 35%)
CMYKcmyk(0%, 78.9%, 50%, 64.7%)
CIE-LABlab(19.35, 34.02, 2.13)
CIE-LCHlch(19.35, 34.09, 3.58°)
OKLaboklab(31.83% 0.1042 0.0058)
OKLCHoklch(31.83% 0.104 3.2)
XYZxyz(4.9234, 2.8295, 2.7690)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A132D #135A40
analogous
#5A1351 #5A132D #5A1D13
triadic
#5A132D #2D5A13 #132D5A
tetradic
#5A132D #515A13 #135A40 #1D135A
square
#5A132D #515A13 #135A40 #1D135A
split-complementary
#5A132D #135A1D #13515A
monochromatic
#19050D #270814 #5A132D #8D1E46 #BF2860

Accessibility & contrast

On white

13.41
#5A132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A132D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A132D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A132D#FFFFFF#000000##FFFFFF
##5A132D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#62061E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a132d;
/* rgb */ color: rgb(90, 19, 45);
/* oklch */ color: oklch(31.8% 0.104 3.2);
Tailwind
colors: {
  custom: {
    50: '#8d5865',
    500: '#5a132d',
    950: '#000000',
  },
}
SCSS
$custom: #5a132d;
$custom-light: #8d5865;
$custom-dark: #000000;
JSON
{
  "hex": "#5a132d",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 338.028,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.10434,
    "h": 3.2
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#5A132D
secondary
#379271
accent
#E8AA40
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5A132D

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

Preview Lab → · Contrast checker → · Palette generator →

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