#5A1244#5A1244

#5A1244 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.118 H 343.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5A1244
RGBrgb(90, 18, 68)
HSLhsl(318, 67%, 21%)
HSVhsv(318, 80%, 35%)
CMYKcmyk(0%, 80%, 24.4%, 64.7%)
CIE-LABlab(20.14, 37.34, -12.78)
CIE-LCHlch(20.14, 39.47, 341.10°)
OKLaboklab(32.71% 0.1125 -0.0342)
OKLCHoklch(32.71% 0.118 343.1)
XYZxyz(5.4763, 3.0242, 5.7630)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1244 #125A28
analogous
#4C125A #5A1244 #5A1220
triadic
#5A1244 #445A12 #12445A
tetradic
#5A1244 #5A4C12 #125A28 #12205A
square
#5A1244 #5A4C12 #125A28 #12205A
split-complementary
#5A1244 #205A12 #125A4C
monochromatic
#1A0513 #27081D #5A1244 #8D1C6B #C02691

Accessibility & contrast

On white

13.09
#5A1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A1244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1244
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1244#FFFFFF#000000##FFFFFF
##5A12441.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2945
Deuteranopia (green-blind)
#303542
Tritanopia (blue-blind)
#601229
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1244;
/* rgb */ color: rgb(90, 18, 68);
/* oklch */ color: oklch(32.7% 0.118 343.1);
Tailwind
colors: {
  custom: {
    50: '#8c5878',
    500: '#5a1244',
    950: '#000000',
  },
}
SCSS
$custom: #5a1244;
$custom-light: #8c5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1244",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 318.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32714,
    "c": 0.11758,
    "h": 343.1
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5A1244
secondary
#359352
accent
#EA733E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1244

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

Preview Lab → · Contrast checker → · Palette generator →

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