#5A103C#5A103C

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

Color values

HEX#5A103C
RGBrgb(90, 16, 60)
HSLhsl(324, 70%, 21%)
HSVhsv(324, 82%, 35%)
CMYKcmyk(0%, 82.2%, 33.3%, 64.7%)
CIE-LABlab(19.52, 36.92, -8.18)
CIE-LCHlch(19.52, 37.82, 347.51°)
OKLaboklab(32.14% 0.1128 -0.0214)
OKLCHoklch(32.14% 0.115 349.3)
XYZxyz(5.2176, 2.8711, 4.5535)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A103C #105A2E
analogous
#53105A #5A103C #5A1017
triadic
#5A103C #3C5A10 #103C5A
tetradic
#5A103C #5A5310 #105A2E #10175A
square
#5A103C #5A5310 #105A2E #10175A
split-complementary
#5A103C #175A10 #105A53
monochromatic
#1A0511 #260719 #5A103C #8E195F #C22281

Accessibility & contrast

On white

13.34
#5A103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A103C
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A103C#FFFFFF#000000##FFFFFF
##5A103C1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273D
Deuteranopia (green-blind)
#32343A
Tritanopia (blue-blind)
#610B24
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a103c;
/* rgb */ color: rgb(90, 16, 60);
/* oklch */ color: oklch(32.1% 0.115 349.3);
Tailwind
colors: {
  custom: {
    50: '#8c5771',
    500: '#5a103c',
    950: '#000000',
  },
}
SCSS
$custom: #5a103c;
$custom-light: #8c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5a103c",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 324.324,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32142,
    "c": 0.11485,
    "h": 349.3
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#5A103C
secondary
#33935A
accent
#ED833B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #5A103C

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

Preview Lab → · Contrast checker → · Palette generator →

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