#5A192F#5A192F

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

Color values

HEX#5A192F
RGBrgb(90, 25, 47)
HSLhsl(340, 57%, 23%)
HSVhsv(340, 72%, 35%)
CMYKcmyk(0%, 72.2%, 47.8%, 64.7%)
CIE-LABlab(20.34, 31.67, 2.15)
CIE-LCHlch(20.34, 31.74, 3.89°)
OKLaboklab(32.59% 0.0968 0.0059)
OKLCHoklch(32.59% 0.097 3.5)
XYZxyz(5.0775, 3.0748, 3.0149)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A192F #195A44
analogous
#5A1950 #5A192F #5A2319
triadic
#5A192F #2F5A19 #192F5A
tetradic
#5A192F #505A19 #195A44 #23195A
square
#5A192F #505A19 #195A44 #23195A
split-complementary
#5A192F #195A23 #19505A
monochromatic
#18070D #2A0C16 #5A192F #8A2648 #BA3461

Accessibility & contrast

On white

13.00
#5A192F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A192F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A192F#FFFFFF#000000##FFFFFF
##5A192F1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#621022
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a192f;
/* rgb */ color: rgb(90, 25, 47);
/* oklch */ color: oklch(32.6% 0.097 3.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b67',
    500: '#5a192f',
    950: '#000000',
  },
}
SCSS
$custom: #5a192f;
$custom-light: #8c5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5a192f",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 47
  },
  "hsl": {
    "h": 339.692,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.09696,
    "h": 3.5
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#5A192F
secondary
#3E9075
accent
#E0AC48
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A192F

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

Preview Lab → · Contrast checker → · Palette generator →

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