#5A182D#5A182D

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

Color values

HEX#5A182D
RGBrgb(90, 24, 45)
HSLhsl(341, 58%, 22%)
HSVhsv(341, 73%, 35%)
CMYKcmyk(0%, 73.3%, 50%, 64.7%)
CIE-LABlab(20.11, 31.91, 3.23)
CIE-LCHlch(20.11, 32.07, 5.77°)
OKLaboklab(32.4% 0.0974 0.0086)
OKLCHoklch(32.4% 0.098 5)
XYZxyz(5.0171, 3.0170, 2.8003)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A182D #185A45
analogous
#5A184E #5A182D #5A2418
triadic
#5A182D #2D5A18 #182D5A
tetradic
#5A182D #4E5A18 #185A45 #24185A
square
#5A182D #4E5A18 #185A45 #24185A
split-complementary
#5A182D #185A24 #184E5A
monochromatic
#18060C #2A0B15 #5A182D #8A2545 #BB325D

Accessibility & contrast

On white

13.10
#5A182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A182D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A182D#FFFFFF#000000##FFFFFF
##5A182D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#620E20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a182d;
/* rgb */ color: rgb(90, 24, 45);
/* oklch */ color: oklch(32.4% 0.098 5.0);
Tailwind
colors: {
  custom: {
    50: '#8c5a65',
    500: '#5a182d',
    950: '#000000',
  },
}
SCSS
$custom: #5a182d;
$custom-light: #8c5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a182d",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 340.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.09779,
    "h": 5
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#5A182D
secondary
#3D9176
accent
#E1B047
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0405
muted
#7D797A

Preview Lab

Preview with #5A182D

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

Preview Lab → · Contrast checker → · Palette generator →

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