#5A1130#5A1130

#5A1130 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.108 H 359.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5A1130
RGBrgb(90, 17, 48)
HSLhsl(335, 68%, 21%)
HSVhsv(335, 81%, 35%)
CMYKcmyk(0%, 81.1%, 46.7%, 64.7%)
CIE-LABlab(19.18, 35.11, -0.25)
CIE-LCHlch(19.18, 35.11, 359.60°)
OKLaboklab(31.74% 0.1078 -0.0002)
OKLCHoklch(31.74% 0.108 359.9)
XYZxyz(4.9508, 2.7886, 3.0733)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1130 #115A3B
analogous
#5A1154 #5A1130 #5A1711
triadic
#5A1130 #305A11 #11305A
tetradic
#5A1130 #545A11 #115A3B #17115A
square
#5A1130 #545A11 #115A3B #17115A
split-complementary
#5A1130 #115A17 #11545A
monochromatic
#1A050E #270715 #5A1130 #8D1B4B #C12467

Accessibility & contrast

On white

13.48
#5A1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1130
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1130#FFFFFF#000000##FFFFFF
##5A11301.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212631
Deuteranopia (green-blind)
#35342E
Tritanopia (blue-blind)
#62051F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1130;
/* rgb */ color: rgb(90, 17, 48);
/* oklch */ color: oklch(31.7% 0.108 359.9);
Tailwind
colors: {
  custom: {
    50: '#8d5768',
    500: '#5a1130',
    950: '#000000',
  },
}
SCSS
$custom: #5a1130;
$custom-light: #8d5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1130",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 334.521,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.10779,
    "h": 359.9
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#5A1130
secondary
#34936B
accent
#EBA13D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A1130

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

Preview Lab → · Contrast checker → · Palette generator →

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