#5A192E#5A192E

#5A192E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.097 H 4.5°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5A192E
RGBrgb(90, 25, 46)
HSLhsl(341, 57%, 23%)
HSVhsv(341, 72%, 35%)
CMYKcmyk(0%, 72.2%, 48.9%, 64.7%)
CIE-LABlab(20.31, 31.56, 2.81)
CIE-LCHlch(20.31, 31.68, 5.08°)
OKLaboklab(32.55% 0.0964 0.0076)
OKLCHoklch(32.55% 0.097 4.5)
XYZxyz(5.0576, 3.0668, 2.9099)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A192E #195A45
analogous
#5A194F #5A192E #5A2419
triadic
#5A192E #2E5A19 #192E5A
tetradic
#5A192E #4F5A19 #195A45 #24195A
square
#5A192E #4F5A19 #195A45 #24195A
split-complementary
#5A192E #195A24 #194F5A
monochromatic
#18070C #2A0C16 #5A192E #8A2646 #BA345F

Accessibility & contrast

On white

13.02
#5A192E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A192E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A192E#FFFFFF#000000##FFFFFF
##5A192E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#621021
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a192e;
/* rgb */ color: rgb(90, 25, 46);
/* oklch */ color: oklch(32.6% 0.097 4.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b66',
    500: '#5a192e',
    950: '#000000',
  },
}
SCSS
$custom: #5a192e;
$custom-light: #8c5b66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a192e",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 46
  },
  "hsl": {
    "h": 340.615,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32552,
    "c": 0.09667,
    "h": 4.5
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#5A192E
secondary
#3E9076
accent
#E0AF48
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0405
muted
#7D797A

Preview Lab

Preview with #5A192E

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

Preview Lab → · Contrast checker → · Palette generator →

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