#5A142F#5A142F

#5A142F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.104 H 1.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#5A142F
RGBrgb(90, 20, 47)
HSLhsl(337, 64%, 22%)
HSVhsv(337, 78%, 35%)
CMYKcmyk(0%, 77.8%, 47.8%, 64.7%)
CIE-LABlab(19.56, 33.84, 1.02)
CIE-LCHlch(19.56, 33.86, 1.72°)
OKLaboklab(32.01% 0.1037 0.003)
OKLCHoklch(32.01% 0.104 1.7)
XYZxyz(4.9801, 2.8798, 2.9824)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A142F #145A3F
analogous
#5A1452 #5A142F #5A1C14
triadic
#5A142F #2F5A14 #142F5A
tetradic
#5A142F #525A14 #145A3F #1C145A
square
#5A142F #525A14 #145A3F #1C145A
split-complementary
#5A142F #145A1C #14525A
monochromatic
#19060D #280915 #5A142F #8C1F49 #BE2A63

Accessibility & contrast

On white

13.33
#5A142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A142F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A142F#FFFFFF#000000##FFFFFF
##5A142F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232730
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#62091F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a142f;
/* rgb */ color: rgb(90, 20, 47);
/* oklch */ color: oklch(32.0% 0.104 1.7);
Tailwind
colors: {
  custom: {
    50: '#8d5867',
    500: '#5a142f',
    950: '#000000',
  },
}
SCSS
$custom: #5a142f;
$custom-light: #8d5867;
$custom-dark: #000000;
JSON
{
  "hex": "#5a142f",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 336.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.10374,
    "h": 1.7
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#5A142F
secondary
#38926F
accent
#E7A741
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5A142F

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

Preview Lab → · Contrast checker → · Palette generator →

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