#5A143E#5A143E

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

Color values

HEX#5A143E
RGBrgb(90, 20, 62)
HSLhsl(324, 64%, 22%)
HSVhsv(324, 78%, 35%)
CMYKcmyk(0%, 77.8%, 31.1%, 64.7%)
CIE-LABlab(20.13, 35.71, -8.64)
CIE-LCHlch(20.13, 36.74, 346.40°)
OKLaboklab(32.62% 0.1087 -0.0227)
OKLCHoklch(32.62% 0.111 348.2)
XYZxyz(5.3364, 3.0224, 4.8588)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A143E #145A30
analogous
#53145A #5A143E #5A141B
triadic
#5A143E #3E5A14 #143E5A
tetradic
#5A143E #5A5314 #145A30 #141B5A
square
#5A143E #5A5314 #145A30 #141B5A
split-complementary
#5A143E #1B5A14 #145A53
monochromatic
#190611 #28091C #5A143E #8C1F60 #BE2A83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A143E#FFFFFF#000000##FFFFFF
##5A143E1.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)
#1E293F
Deuteranopia (green-blind)
#33353C
Tritanopia (blue-blind)
#611127
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a143e;
/* rgb */ color: rgb(90, 20, 62);
/* oklch */ color: oklch(32.6% 0.111 348.2);
Tailwind
colors: {
  custom: {
    50: '#8c5973',
    500: '#5a143e',
    950: '#000000',
  },
}
SCSS
$custom: #5a143e;
$custom-light: #8c5973;
$custom-dark: #000000;
JSON
{
  "hex": "#5a143e",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 324,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.11108,
    "h": 348.2
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#5A143E
secondary
#38925C
accent
#E78341
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A143E

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

Preview Lab → · Contrast checker → · Palette generator →

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