#5A182B#5A182B

#5A182B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.097 H 7.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5A182B
RGBrgb(90, 24, 43)
HSLhsl(343, 58%, 22%)
HSVhsv(343, 73%, 35%)
CMYKcmyk(0%, 73.3%, 52.2%, 64.7%)
CIE-LABlab(20.05, 31.69, 4.55)
CIE-LCHlch(20.05, 32.02, 8.17°)
OKLaboklab(32.33% 0.0966 0.0119)
OKLCHoklch(32.33% 0.097 7)
XYZxyz(4.9795, 3.0020, 2.6023)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A182B #185A47
analogous
#5A184C #5A182B #5A2618
triadic
#5A182B #2B5A18 #182B5A
tetradic
#5A182B #4C5A18 #185A47 #26185A
square
#5A182B #4C5A18 #185A47 #26185A
split-complementary
#5A182B #185A26 #184C5A
monochromatic
#18060C #2A0B14 #5A182B #8A2542 #BB3259

Accessibility & contrast

On white

13.12
#5A182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A182B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A182B#FFFFFF#000000##FFFFFF
##5A182B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#620D20
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a182b;
/* rgb */ color: rgb(90, 24, 43);
/* oklch */ color: oklch(32.3% 0.097 7.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a64',
    500: '#5a182b',
    950: '#000000',
  },
}
SCSS
$custom: #5a182b;
$custom-light: #8d5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5a182b",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 342.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32331,
    "c": 0.09729,
    "h": 7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#5A182B
secondary
#3D9179
accent
#E1B547
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5A182B

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

Preview Lab → · Contrast checker → · Palette generator →

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