#5A1135#5A1135

#5A1135 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.110 H 355.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5A1135
RGBrgb(90, 17, 53)
HSLhsl(330, 68%, 21%)
HSVhsv(330, 81%, 35%)
CMYKcmyk(0%, 81.1%, 41.1%, 64.7%)
CIE-LABlab(19.36, 35.68, -3.51)
CIE-LCHlch(19.36, 35.85, 354.38°)
OKLaboklab(31.93% 0.1096 -0.0088)
OKLCHoklch(31.93% 0.11 355.4)
XYZxyz(5.0598, 2.8322, 3.6477)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1135 #115A36
analogous
#5A1159 #5A1135 #5A1111
triadic
#5A1135 #355A11 #11355A
tetradic
#5A1135 #595A11 #115A36 #11115A
square
#5A1135 #595A11 #115A36 #11115A
split-complementary
#5A1135 #115A11 #11595A
monochromatic
#1A050F #270717 #5A1135 #8D1B53 #C12472

Accessibility & contrast

On white

13.41
#5A1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1135
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1135#FFFFFF#000000##FFFFFF
##5A11351.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202636
Deuteranopia (green-blind)
#343433
Tritanopia (blue-blind)
#620821
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1135;
/* rgb */ color: rgb(90, 17, 53);
/* oklch */ color: oklch(31.9% 0.110 355.4);
Tailwind
colors: {
  custom: {
    50: '#8c576c',
    500: '#5a1135',
    950: '#000000',
  },
}
SCSS
$custom: #5a1135;
$custom-light: #8c576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1135",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 330.411,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.10993,
    "h": 355.4
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#5A1135
secondary
#349364
accent
#EB953D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0306
muted
#7D787A

Preview Lab

Preview with #5A1135

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

Preview Lab → · Contrast checker → · Palette generator →

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