#5A103B#5A103B

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

Color values

HEX#5A103B
RGBrgb(90, 16, 59)
HSLhsl(325, 70%, 21%)
HSVhsv(325, 82%, 35%)
CMYKcmyk(0%, 82.2%, 34.4%, 64.7%)
CIE-LABlab(19.48, 36.79, -7.55)
CIE-LCHlch(19.48, 37.56, 348.41°)
OKLaboklab(32.1% 0.1126 -0.0197)
OKLCHoklch(32.1% 0.114 350.1)
XYZxyz(5.1914, 2.8606, 4.4156)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A103B #105A2F
analogous
#54105A #5A103B #5A1016
triadic
#5A103B #3B5A10 #103B5A
tetradic
#5A103B #5A5410 #105A2F #10165A
square
#5A103B #5A5410 #105A2F #10165A
split-complementary
#5A103B #165A10 #105A54
monochromatic
#1A0511 #260719 #5A103B #8E195D #C2227F

Accessibility & contrast

On white

13.36
#5A103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A103B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A103B#FFFFFF#000000##FFFFFF
##5A103B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#323439
Tritanopia (blue-blind)
#610B24
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a103b;
/* rgb */ color: rgb(90, 16, 59);
/* oklch */ color: oklch(32.1% 0.114 350.1);
Tailwind
colors: {
  custom: {
    50: '#8c5771',
    500: '#5a103b',
    950: '#000000',
  },
}
SCSS
$custom: #5a103b;
$custom-light: #8c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5a103b",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 325.135,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32097,
    "c": 0.11427,
    "h": 350.1
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#5A103B
secondary
#33935B
accent
#ED863B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #5A103B

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

Preview Lab → · Contrast checker → · Palette generator →

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