#5A283F#5A283F

#5A283F is a dark, moderate pink. Relative luminance 0.041; OKLCH L 35.4% C 0.079 H 353.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#5A283F
RGBrgb(90, 40, 63)
HSLhsl(332, 38%, 25%)
HSVhsv(332, 56%, 35%)
CMYKcmyk(0%, 55.6%, 30%, 64.7%)
CIE-LABlab(23.84, 25.95, -3.76)
CIE-LCHlch(23.84, 26.22, 351.77°)
OKLaboklab(35.37% 0.0785 -0.0096)
OKLCHoklch(35.37% 0.079 353)
XYZxyz(5.8727, 4.0506, 5.1742)
Luminance0.0405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A283F #285A43
analogous
#5A2858 #5A283F #5A2A28
triadic
#5A283F #3F5A28 #283F5A
tetradic
#5A283F #585A28 #285A43 #2A285A
square
#5A283F #585A28 #285A43 #2A285A
split-complementary
#5A283F #285A2A #28585A
monochromatic
#15090F #301521 #5A283F #843B5D #AF4E7A

Accessibility & contrast

On white

11.60
#5A283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5A283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A283F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A283F#FFFFFF#000000##FFFFFF
##5A283F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3340
Deuteranopia (green-blind)
#3C3C3E
Tritanopia (blue-blind)
#602631
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5a283f;
/* rgb */ color: rgb(90, 40, 63);
/* oklch */ color: oklch(35.4% 0.079 353.0);
Tailwind
colors: {
  custom: {
    50: '#8b6474',
    500: '#5a283f',
    950: '#000000',
  },
}
SCSS
$custom: #5a283f;
$custom-light: #8b6474;
$custom-dark: #000000;
JSON
{
  "hex": "#5a283f",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 332.4,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35374,
    "c": 0.07908,
    "h": 353
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#5A283F
secondary
#518D71
accent
#CE9959
background
#F8F6F7
surface
#F0EBED
border
#CBC6C8
text
#0C0508
muted
#7D7A7B

Preview Lab

Preview with #5A283F

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

Preview Lab → · Contrast checker → · Palette generator →

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