#5A1030#5A1030

#5A1030 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.109 H 359.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#5A1030
RGBrgb(90, 16, 48)
HSLhsl(334, 70%, 21%)
HSVhsv(334, 82%, 35%)
CMYKcmyk(0%, 82.2%, 46.7%, 64.7%)
CIE-LABlab(19.05, 35.47, -0.43)
CIE-LCHlch(19.05, 35.47, 359.30°)
OKLaboklab(31.64% 0.109 -0.0007)
OKLCHoklch(31.64% 0.109 359.6)
XYZxyz(4.9356, 2.7583, 3.0682)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1030 #105A3A
analogous
#5A1055 #5A1030 #5A1510
triadic
#5A1030 #305A10 #10305A
tetradic
#5A1030 #555A10 #105A3A #15105A
square
#5A1030 #555A10 #105A3A #15105A
split-complementary
#5A1030 #105A15 #10555A
monochromatic
#1A050E #260714 #5A1030 #8E194C #C22267

Accessibility & contrast

On white

13.53
#5A1030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A1030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1030
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1030#FFFFFF#000000##FFFFFF
##5A10301.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212531
Deuteranopia (green-blind)
#35332E
Tritanopia (blue-blind)
#62041E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1030;
/* rgb */ color: rgb(90, 16, 48);
/* oklch */ color: oklch(31.6% 0.109 359.6);
Tailwind
colors: {
  custom: {
    50: '#8d5768',
    500: '#5a1030',
    950: '#000000',
  },
}
SCSS
$custom: #5a1030;
$custom-light: #8d5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1030",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 48
  },
  "hsl": {
    "h": 334.054,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31643,
    "c": 0.10895,
    "h": 359.6
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#5A1030
secondary
#339369
accent
#EDA03B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A1030

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

Preview Lab → · Contrast checker → · Palette generator →

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