#5A142D#5A142D

#5A142D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.103 H 3.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5A142D
RGBrgb(90, 20, 45)
HSLhsl(339, 64%, 22%)
HSVhsv(339, 78%, 35%)
CMYKcmyk(0%, 77.8%, 50%, 64.7%)
CIE-LABlab(19.49, 33.62, 2.34)
CIE-LCHlch(19.49, 33.71, 3.97°)
OKLaboklab(31.94% 0.1029 0.0064)
OKLCHoklch(31.94% 0.103 3.5)
XYZxyz(4.9407, 2.8641, 2.7748)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A142D #145A41
analogous
#5A1450 #5A142D #5A1E14
triadic
#5A142D #2D5A14 #142D5A
tetradic
#5A142D #505A14 #145A41 #1E145A
square
#5A142D #505A14 #145A41 #1E145A
split-complementary
#5A142D #145A1E #14505A
monochromatic
#19060D #280914 #5A142D #8C1F46 #BE2A5F

Accessibility & contrast

On white

13.35
#5A142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A142D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A142D#FFFFFF#000000##FFFFFF
##5A142D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262E
Deuteranopia (green-blind)
#37342B
Tritanopia (blue-blind)
#62081E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a142d;
/* rgb */ color: rgb(90, 20, 45);
/* oklch */ color: oklch(31.9% 0.103 3.5);
Tailwind
colors: {
  custom: {
    50: '#8d5865',
    500: '#5a142d',
    950: '#000000',
  },
}
SCSS
$custom: #5a142d;
$custom-light: #8d5865;
$custom-dark: #000000;
JSON
{
  "hex": "#5a142d",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 338.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31936,
    "c": 0.1031,
    "h": 3.5
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#5A142D
secondary
#389272
accent
#E7AC41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5A142D

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

Preview Lab → · Contrast checker → · Palette generator →

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