#5A1124#5A1124

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

Color values

HEX#5A1124
RGBrgb(90, 17, 36)
HSLhsl(344, 68%, 21%)
HSVhsv(344, 81%, 35%)
CMYKcmyk(0%, 81.1%, 60%, 64.7%)
CIE-LABlab(18.81, 33.94, 7.77)
CIE-LCHlch(18.81, 34.82, 12.90°)
OKLaboklab(31.35% 0.1028 0.0196)
OKLCHoklch(31.35% 0.105 10.8)
XYZxyz(4.7358, 2.7026, 1.9410)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1124 #115A47
analogous
#5A1148 #5A1124 #5A2211
triadic
#5A1124 #245A11 #11245A
tetradic
#5A1124 #485A11 #115A47 #22115A
square
#5A1124 #485A11 #115A47 #22115A
split-complementary
#5A1124 #115A22 #11485A
monochromatic
#1A050A #27070F #5A1124 #8D1B39 #C1244D

Accessibility & contrast

On white

13.63
#5A1124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1124
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1124#FFFFFF#000000##FFFFFF
##5A11241.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1124;
/* rgb */ color: rgb(90, 17, 36);
/* oklch */ color: oklch(31.3% 0.105 10.8);
Tailwind
colors: {
  custom: {
    50: '#8e575e',
    500: '#5a1124',
    950: '#000000',
  },
}
SCSS
$custom: #5a1124;
$custom-light: #8e575e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1124",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 344.384,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.10467,
    "h": 10.8
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#5A1124
secondary
#34937A
accent
#EBBE3D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A1124

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

Preview Lab → · Contrast checker → · Palette generator →

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