#5A182C#5A182C

#5A182C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 6.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5A182C
RGBrgb(90, 24, 44)
HSLhsl(342, 58%, 22%)
HSVhsv(342, 73%, 35%)
CMYKcmyk(0%, 73.3%, 51.1%, 64.7%)
CIE-LABlab(20.08, 31.80, 3.89)
CIE-LCHlch(20.08, 32.04, 6.97°)
OKLaboklab(32.36% 0.097 0.0102)
OKLCHoklch(32.36% 0.098 6)
XYZxyz(4.9981, 3.0094, 2.7001)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A182C #185A46
analogous
#5A184D #5A182C #5A2518
triadic
#5A182C #2C5A18 #182C5A
tetradic
#5A182C #4D5A18 #185A46 #25185A
square
#5A182C #4D5A18 #185A46 #25185A
split-complementary
#5A182C #185A25 #184D5A
monochromatic
#18060C #2A0B14 #5A182C #8A2544 #BB325B

Accessibility & contrast

On white

13.11
#5A182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A182C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A182C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A182C#FFFFFF#000000##FFFFFF
##5A182C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#620D20
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a182c;
/* rgb */ color: rgb(90, 24, 44);
/* oklch */ color: oklch(32.4% 0.098 6.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a64',
    500: '#5a182c',
    950: '#000000',
  },
}
SCSS
$custom: #5a182c;
$custom-light: #8d5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5a182c",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 341.818,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.09753,
    "h": 6
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#5A182C
secondary
#3D9177
accent
#E1B247
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5A182C

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

Preview Lab → · Contrast checker → · Palette generator →

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