#5A1029#5A1029

#5A1029 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 5.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#5A1029
RGBrgb(90, 16, 41)
HSLhsl(340, 70%, 21%)
HSVhsv(340, 82%, 35%)
CMYKcmyk(0%, 82.2%, 54.4%, 64.7%)
CIE-LABlab(18.82, 34.75, 4.22)
CIE-LCHlch(18.82, 35.01, 6.93°)
OKLaboklab(31.4% 0.1062 0.011)
OKLCHoklch(31.4% 0.107 5.9)
XYZxyz(4.8024, 2.7050, 2.3666)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1029 #105A41
analogous
#5A104E #5A1029 #5A1C10
triadic
#5A1029 #295A10 #10295A
tetradic
#5A1029 #4E5A10 #105A41 #1C105A
square
#5A1029 #4E5A10 #105A41 #1C105A
split-complementary
#5A1029 #105A1C #104E5A
monochromatic
#1A050C #260711 #5A1029 #8E1941 #C22258

Accessibility & contrast

On white

13.63
#5A1029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1029
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1029#FFFFFF#000000##FFFFFF
##5A10291.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23242A
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1029;
/* rgb */ color: rgb(90, 16, 41);
/* oklch */ color: oklch(31.4% 0.107 5.9);
Tailwind
colors: {
  custom: {
    50: '#8d5662',
    500: '#5a1029',
    950: '#000000',
  },
}
SCSS
$custom: #5a1029;
$custom-light: #8d5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1029",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 339.73,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31402,
    "c": 0.10673,
    "h": 5.9
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#5A1029
secondary
#339373
accent
#EDB13B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A1029

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

Preview Lab → · Contrast checker → · Palette generator →

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