#5A143B#5A143B

#5A143B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.109 H 350.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5A143B
RGBrgb(90, 20, 59)
HSLhsl(327, 64%, 22%)
HSVhsv(327, 78%, 35%)
CMYKcmyk(0%, 77.8%, 34.4%, 64.7%)
CIE-LABlab(20.00, 35.30, -6.75)
CIE-LCHlch(20.00, 35.94, 349.18°)
OKLaboklab(32.48% 0.1079 -0.0175)
OKLCHoklch(32.48% 0.109 350.8)
XYZxyz(5.2563, 2.9903, 4.4372)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A143B #145A33
analogous
#56145A #5A143B #5A1418
triadic
#5A143B #3B5A14 #143B5A
tetradic
#5A143B #5A5614 #145A33 #14185A
square
#5A143B #5A5614 #145A33 #14185A
split-complementary
#5A143B #185A14 #145A56
monochromatic
#190610 #28091A #5A143B #8C1F5C #BE2A7D

Accessibility & contrast

On white

13.14
#5A143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A143B
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A143B#FFFFFF#000000##FFFFFF
##5A143B1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#333539
Tritanopia (blue-blind)
#610F25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a143b;
/* rgb */ color: rgb(90, 20, 59);
/* oklch */ color: oklch(32.5% 0.109 350.8);
Tailwind
colors: {
  custom: {
    50: '#8c5970',
    500: '#5a143b',
    950: '#000000',
  },
}
SCSS
$custom: #5a143b;
$custom-light: #8c5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5a143b",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 326.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.10929,
    "h": 350.8
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#5A143B
secondary
#389260
accent
#E78A41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A143B

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

Preview Lab → · Contrast checker → · Palette generator →

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