#5A1024#5A1024

#5A1024 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 10.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#5A1024
RGBrgb(90, 16, 36)
HSLhsl(344, 70%, 21%)
HSVhsv(344, 82%, 35%)
CMYKcmyk(0%, 82.2%, 60%, 64.7%)
CIE-LABlab(18.68, 34.31, 7.59)
CIE-LCHlch(18.68, 35.14, 12.48°)
OKLaboklab(31.25% 0.104 0.0191)
OKLCHoklch(31.25% 0.106 10.4)
XYZxyz(4.7206, 2.6723, 1.9360)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1024 #105A46
analogous
#5A1049 #5A1024 #5A2110
triadic
#5A1024 #245A10 #10245A
tetradic
#5A1024 #495A10 #105A46 #21105A
square
#5A1024 #495A10 #105A46 #21105A
split-complementary
#5A1024 #105A21 #10495A
monochromatic
#1A050A #26070F #5A1024 #8E1939 #C2224E

Accessibility & contrast

On white

13.69
#5A1024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1024
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1024#FFFFFF#000000##FFFFFF
##5A10241.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242424
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1024;
/* rgb */ color: rgb(90, 16, 36);
/* oklch */ color: oklch(31.3% 0.106 10.4);
Tailwind
colors: {
  custom: {
    50: '#8e565e',
    500: '#5a1024',
    950: '#000000',
  },
}
SCSS
$custom: #5a1024;
$custom-light: #8e565e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1024",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 343.784,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.10574,
    "h": 10.4
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#5A1024
secondary
#339379
accent
#EDBD3B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A1024

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

Preview Lab → · Contrast checker → · Palette generator →

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