#5A142A#5A142A

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

Color values

HEX#5A142A
RGBrgb(90, 20, 42)
HSLhsl(341, 64%, 22%)
HSVhsv(341, 78%, 35%)
CMYKcmyk(0%, 77.8%, 53.3%, 64.7%)
CIE-LABlab(19.40, 33.32, 4.33)
CIE-LCHlch(19.40, 33.60, 7.40°)
OKLaboklab(31.84% 0.1017 0.0113)
OKLCHoklch(31.84% 0.102 6.4)
XYZxyz(4.8849, 2.8418, 2.4813)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A142A #145A44
analogous
#5A144D #5A142A #5A2114
triadic
#5A142A #2A5A14 #142A5A
tetradic
#5A142A #4D5A14 #145A44 #21145A
square
#5A142A #4D5A14 #145A44 #21145A
split-complementary
#5A142A #145A21 #144D5A
monochromatic
#19060C #280913 #5A142A #8C1F41 #BE2A59

Accessibility & contrast

On white

13.39
#5A142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A142A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A142A#FFFFFF#000000##FFFFFF
##5A142A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#63061D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a142a;
/* rgb */ color: rgb(90, 20, 42);
/* oklch */ color: oklch(31.8% 0.102 6.4);
Tailwind
colors: {
  custom: {
    50: '#8d5863',
    500: '#5a142a',
    950: '#000000',
  },
}
SCSS
$custom: #5a142a;
$custom-light: #8d5863;
$custom-dark: #000000;
JSON
{
  "hex": "#5a142a",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 341.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31838,
    "c": 0.10228,
    "h": 6.4
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#5A142A
secondary
#389276
accent
#E7B341
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5A142A

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

Preview Lab → · Contrast checker → · Palette generator →

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