#5A1335#5A1335

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

Color values

HEX#5A1335
RGBrgb(90, 19, 53)
HSLhsl(331, 65%, 21%)
HSVhsv(331, 79%, 35%)
CMYKcmyk(0%, 78.9%, 41.1%, 64.7%)
CIE-LABlab(19.63, 34.93, -3.11)
CIE-LCHlch(19.63, 35.07, 354.91°)
OKLaboklab(32.13% 0.1072 -0.0077)
OKLCHoklch(32.13% 0.107 355.9)
XYZxyz(5.0923, 2.8971, 3.6585)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1335 #135A38
analogous
#5A1359 #5A1335 #5A1513
triadic
#5A1335 #355A13 #13355A
tetradic
#5A1335 #595A13 #135A38 #15135A
square
#5A1335 #595A13 #135A38 #15135A
split-complementary
#5A1335 #135A15 #13595A
monochromatic
#19050F #270817 #5A1335 #8D1E53 #BF2871

Accessibility & contrast

On white

13.30
#5A1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1335
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1335#FFFFFF#000000##FFFFFF
##5A13351.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212736
Deuteranopia (green-blind)
#353433
Tritanopia (blue-blind)
#620B22
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1335;
/* rgb */ color: rgb(90, 19, 53);
/* oklch */ color: oklch(32.1% 0.107 355.9);
Tailwind
colors: {
  custom: {
    50: '#8c586c',
    500: '#5a1335',
    950: '#000000',
  },
}
SCSS
$custom: #5a1335;
$custom-light: #8c586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1335",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 331.268,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.10747,
    "h": 355.9
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#5A1335
secondary
#379266
accent
#E89740
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1335

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

Preview Lab → · Contrast checker → · Palette generator →

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