#5A182F#5A182F

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

Color values

HEX#5A182F
RGBrgb(90, 24, 47)
HSLhsl(339, 58%, 22%)
HSVhsv(339, 73%, 35%)
CMYKcmyk(0%, 73.3%, 47.8%, 64.7%)
CIE-LABlab(20.17, 32.13, 1.91)
CIE-LCHlch(20.17, 32.18, 3.40°)
OKLaboklab(32.46% 0.0982 0.0053)
OKLCHoklch(32.46% 0.098 3.1)
XYZxyz(5.0566, 3.0328, 3.0079)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A182F #185A43
analogous
#5A1850 #5A182F #5A2218
triadic
#5A182F #2F5A18 #182F5A
tetradic
#5A182F #505A18 #185A43 #22185A
square
#5A182F #505A18 #185A43 #22185A
split-complementary
#5A182F #185A22 #18505A
monochromatic
#18060D #2A0B16 #5A182F #8A2548 #BB3261

Accessibility & contrast

On white

13.07
#5A182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A182F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A182F#FFFFFF#000000##FFFFFF
##5A182F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#620F21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a182f;
/* rgb */ color: rgb(90, 24, 47);
/* oklch */ color: oklch(32.5% 0.098 3.1);
Tailwind
colors: {
  custom: {
    50: '#8c5a67',
    500: '#5a182f',
    950: '#000000',
  },
}
SCSS
$custom: #5a182f;
$custom-light: #8c5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#5a182f",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 339.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.09837,
    "h": 3.1
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#5A182F
secondary
#3D9174
accent
#E1AB47
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A182F

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

Preview Lab → · Contrast checker → · Palette generator →

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