#5A103F#5A103F

#5A103F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.117 H 346.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5A103F
RGBrgb(90, 16, 63)
HSLhsl(322, 70%, 21%)
HSVhsv(322, 82%, 35%)
CMYKcmyk(0%, 82.2%, 30%, 64.7%)
CIE-LABlab(19.65, 37.33, -10.07)
CIE-LCHlch(19.65, 38.66, 344.91°)
OKLaboklab(32.28% 0.1136 -0.0266)
OKLCHoklch(32.28% 0.117 346.8)
XYZxyz(5.2992, 2.9037, 4.9831)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A103F #105A2B
analogous
#50105A #5A103F #5A101A
triadic
#5A103F #3F5A10 #103F5A
tetradic
#5A103F #5A5010 #105A2B #101A5A
square
#5A103F #5A5010 #105A2B #101A5A
split-complementary
#5A103F #1A5A10 #105A50
monochromatic
#1A0512 #26071B #5A103F #8E1963 #C22288

Accessibility & contrast

On white

13.29
#5A103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A103F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A103F#FFFFFF#000000##FFFFFF
##5A103F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2740
Deuteranopia (green-blind)
#31343D
Tritanopia (blue-blind)
#610D26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a103f;
/* rgb */ color: rgb(90, 16, 63);
/* oklch */ color: oklch(32.3% 0.117 346.8);
Tailwind
colors: {
  custom: {
    50: '#8c5774',
    500: '#5a103f',
    950: '#000000',
  },
}
SCSS
$custom: #5a103f;
$custom-light: #8c5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5a103f",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 321.892,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.11668,
    "h": 346.8
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#5A103F
secondary
#339356
accent
#ED7C3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #5A103F

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

Preview Lab → · Contrast checker → · Palette generator →

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