#5B142F#5B142F

#5B142F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.105 H 2.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5B142F
RGBrgb(91, 20, 47)
HSLhsl(337, 64%, 22%)
HSVhsv(337, 78%, 36%)
CMYKcmyk(0%, 78%, 48.4%, 64.3%)
CIE-LABlab(19.76, 34.17, 1.34)
CIE-LCHlch(19.76, 34.19, 2.25°)
OKLaboklab(32.2% 0.1047 0.0038)
OKLCHoklch(32.2% 0.105 2.1)
XYZxyz(5.0780, 2.9304, 2.9870)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142F #145B40
analogous
#5B1453 #5B142F #5B1D14
triadic
#5B142F #2F5B14 #142F5B
tetradic
#5B142F #535B14 #145B40 #1D145B
square
#5B142F #535B14 #145B40 #1D145B
split-complementary
#5B142F #145B1D #14535B
monochromatic
#19060D #290915 #5B142F #8D1F49 #BF2A63

Accessibility & contrast

On white

13.24
#5B142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B142F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142F#FFFFFF#000000##FFFFFF
##5B142F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#63081F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b142f;
/* rgb */ color: rgb(91, 20, 47);
/* oklch */ color: oklch(32.2% 0.105 2.1);
Tailwind
colors: {
  custom: {
    50: '#8d5867',
    500: '#5b142f',
    950: '#000000',
  },
}
SCSS
$custom: #5b142f;
$custom-light: #8d5867;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142f",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 337.183,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.10476,
    "h": 2.1
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#5B142F
secondary
#389370
accent
#E7A841
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B142F

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

Preview Lab → · Contrast checker → · Palette generator →

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