#5A293C#5A293C

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

Color values

HEX#5A293C
RGBrgb(90, 41, 60)
HSLhsl(337, 37%, 26%)
HSVhsv(337, 54%, 35%)
CMYKcmyk(0%, 54.4%, 33.3%, 64.7%)
CIE-LABlab(23.95, 24.92, -1.55)
CIE-LCHlch(23.95, 24.96, 356.44°)
OKLaboklab(35.43% 0.0756 -0.0037)
OKLCHoklch(35.43% 0.076 357.2)
XYZxyz(5.8252, 4.0863, 4.7560)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A293C #295A47
analogous
#5A2954 #5A293C #5A2E29
triadic
#5A293C #3C5A29 #293C5A
tetradic
#5A293C #545A29 #295A47 #2E295A
square
#5A293C #545A29 #295A47 #2E295A
split-complementary
#5A293C #295A2E #29545A
monochromatic
#150A0E #301620 #5A293C #843C58 #AE4F74

Accessibility & contrast

On white

11.56
#5A293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5A293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A293C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A293C#FFFFFF#000000##FFFFFF
##5A293C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333D
Deuteranopia (green-blind)
#3D3C3B
Tritanopia (blue-blind)
#612630
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5a293c;
/* rgb */ color: rgb(90, 41, 60);
/* oklch */ color: oklch(35.4% 0.076 357.2);
Tailwind
colors: {
  custom: {
    50: '#8b6471',
    500: '#5a293c',
    950: '#000000',
  },
}
SCSS
$custom: #5a293c;
$custom-light: #8b6471;
$custom-dark: #000000;
JSON
{
  "hex": "#5a293c",
  "rgb": {
    "r": 90,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 336.735,
    "s": 37.405,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.07566,
    "h": 357.2
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#5A293C
secondary
#528D76
accent
#CDA15A
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0C0507
muted
#7D7A7A

Preview Lab

Preview with #5A293C

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

Preview Lab → · Contrast checker → · Palette generator →

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