#5A182A#5A182A

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

Color values

HEX#5A182A
RGBrgb(90, 24, 42)
HSLhsl(344, 58%, 22%)
HSVhsv(344, 73%, 35%)
CMYKcmyk(0%, 73.3%, 53.3%, 64.7%)
CIE-LABlab(20.02, 31.59, 5.21)
CIE-LCHlch(20.02, 32.02, 9.37°)
OKLaboklab(32.3% 0.0961 0.0135)
OKLCHoklch(32.3% 0.097 8)
XYZxyz(4.9614, 2.9947, 2.5068)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A182A #185A48
analogous
#5A184B #5A182A #5A2718
triadic
#5A182A #2A5A18 #182A5A
tetradic
#5A182A #4B5A18 #185A48 #27185A
square
#5A182A #4B5A18 #185A48 #27185A
split-complementary
#5A182A #185A27 #184B5A
monochromatic
#18060B #2A0B13 #5A182A #8A2541 #BB3257

Accessibility & contrast

On white

13.13
#5A182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A182A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A182A#FFFFFF#000000##FFFFFF
##5A182A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#630D1F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a182a;
/* rgb */ color: rgb(90, 24, 42);
/* oklch */ color: oklch(32.3% 0.097 8.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a63',
    500: '#5a182a',
    950: '#000000',
  },
}
SCSS
$custom: #5a182a;
$custom-light: #8d5a63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a182a",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 343.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.323,
    "c": 0.09707,
    "h": 8
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#5A182A
secondary
#3D917A
accent
#E1B747
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5A182A

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

Preview Lab → · Contrast checker → · Palette generator →

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