#5A192D#5A192D

#5A192D is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.096 H 5.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5A192D
RGBrgb(90, 25, 45)
HSLhsl(342, 57%, 23%)
HSVhsv(342, 72%, 35%)
CMYKcmyk(0%, 72.2%, 50%, 64.7%)
CIE-LABlab(20.28, 31.45, 3.46)
CIE-LCHlch(20.28, 31.64, 6.29°)
OKLaboklab(32.52% 0.0959 0.0092)
OKLCHoklch(32.52% 0.096 5.5)
XYZxyz(5.0381, 3.0590, 2.8073)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A192D #195A46
analogous
#5A194E #5A192D #5A2519
triadic
#5A192D #2D5A19 #192D5A
tetradic
#5A192D #4E5A19 #195A46 #25195A
square
#5A192D #4E5A19 #195A46 #25195A
split-complementary
#5A192D #195A25 #194E5A
monochromatic
#18070C #2A0C15 #5A192D #8A2645 #BA345D

Accessibility & contrast

On white

13.03
#5A192D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A192D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A192D#FFFFFF#000000##FFFFFF
##5A192D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292D
Deuteranopia (green-blind)
#38362B
Tritanopia (blue-blind)
#620F21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a192d;
/* rgb */ color: rgb(90, 25, 45);
/* oklch */ color: oklch(32.5% 0.096 5.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b65',
    500: '#5a192d',
    950: '#000000',
  },
}
SCSS
$custom: #5a192d;
$custom-light: #8c5b65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a192d",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 45
  },
  "hsl": {
    "h": 341.538,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.09639,
    "h": 5.5
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#5A192D
secondary
#3E9077
accent
#E0B148
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0405
muted
#7D797A

Preview Lab

Preview with #5A192D

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

Preview Lab → · Contrast checker → · Palette generator →

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