#5A192A#5A192A

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

Color values

HEX#5A192A
RGBrgb(90, 25, 42)
HSLhsl(344, 57%, 23%)
HSVhsv(344, 72%, 35%)
CMYKcmyk(0%, 72.2%, 53.3%, 64.7%)
CIE-LABlab(20.19, 31.13, 5.45)
CIE-LCHlch(20.19, 31.61, 9.93°)
OKLaboklab(32.42% 0.0947 0.0141)
OKLCHoklch(32.42% 0.096 8.5)
XYZxyz(4.9824, 3.0367, 2.5138)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A192A #195A49
analogous
#5A194A #5A192A #5A2919
triadic
#5A192A #2A5A19 #192A5A
tetradic
#5A192A #4A5A19 #195A49 #29195A
square
#5A192A #4A5A19 #195A49 #29195A
split-complementary
#5A192A #195A29 #194A5A
monochromatic
#18070B #2A0C14 #5A192A #8A2640 #BA3457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A192A#FFFFFF#000000##FFFFFF
##5A192A1.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)
#28282A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#630E20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a192a;
/* rgb */ color: rgb(90, 25, 42);
/* oklch */ color: oklch(32.4% 0.096 8.5);
Tailwind
colors: {
  custom: {
    50: '#8d5b63',
    500: '#5a192a',
    950: '#000000',
  },
}
SCSS
$custom: #5a192a;
$custom-light: #8d5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a192a",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 42
  },
  "hsl": {
    "h": 344.308,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.09571,
    "h": 8.5
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5A192A
secondary
#3E907B
accent
#E0B848
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5A192A

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

Preview Lab → · Contrast checker → · Palette generator →

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