#5A103A#5A103A

#5A103A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.114 H 350.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#5A103A
RGBrgb(90, 16, 58)
HSLhsl(326, 70%, 21%)
HSVhsv(326, 82%, 35%)
CMYKcmyk(0%, 82.2%, 35.6%, 64.7%)
CIE-LABlab(19.43, 36.66, -6.91)
CIE-LCHlch(19.43, 37.31, 349.33°)
OKLaboklab(32.05% 0.1123 -0.0179)
OKLCHoklch(32.05% 0.114 350.9)
XYZxyz(5.1658, 2.8503, 4.2803)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A103A #105A30
analogous
#55105A #5A103A #5A1015
triadic
#5A103A #3A5A10 #103A5A
tetradic
#5A103A #5A5510 #105A30 #10155A
square
#5A103A #5A5510 #105A30 #10155A
split-complementary
#5A103A #155A10 #105A55
monochromatic
#1A0511 #260719 #5A103A #8E195B #C2227D

Accessibility & contrast

On white

13.38
#5A103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A103A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A103A#FFFFFF#000000##FFFFFF
##5A103A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273B
Deuteranopia (green-blind)
#323438
Tritanopia (blue-blind)
#610A23
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a103a;
/* rgb */ color: rgb(90, 16, 58);
/* oklch */ color: oklch(32.1% 0.114 350.9);
Tailwind
colors: {
  custom: {
    50: '#8c5770',
    500: '#5a103a',
    950: '#000000',
  },
}
SCSS
$custom: #5a103a;
$custom-light: #8c5770;
$custom-dark: #000000;
JSON
{
  "hex": "#5a103a",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 325.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32052,
    "c": 0.11371,
    "h": 350.9
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#5A103A
secondary
#33935C
accent
#ED883B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A103A

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

Preview Lab → · Contrast checker → · Palette generator →

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