#5A1026#5A1026

#5A1026 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 8.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#5A1026
RGBrgb(90, 16, 38)
HSLhsl(342, 70%, 21%)
HSVhsv(342, 82%, 35%)
CMYKcmyk(0%, 82.2%, 57.8%, 64.7%)
CIE-LABlab(18.73, 34.48, 6.24)
CIE-LCHlch(18.73, 35.04, 10.26°)
OKLaboklab(31.31% 0.1049 0.0159)
OKLCHoklch(31.31% 0.106 8.6)
XYZxyz(4.7520, 2.6849, 2.1013)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1026 #105A44
analogous
#5A104B #5A1026 #5A1F10
triadic
#5A1026 #265A10 #10265A
tetradic
#5A1026 #4B5A10 #105A44 #1F105A
square
#5A1026 #4B5A10 #105A44 #1F105A
split-complementary
#5A1026 #105A1F #104B5A
monochromatic
#1A050B #260710 #5A1026 #8E193C #C22252

Accessibility & contrast

On white

13.66
#5A1026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1026
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1026#FFFFFF#000000##FFFFFF
##5A10261.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232426
Deuteranopia (green-blind)
#373324
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1026;
/* rgb */ color: rgb(90, 16, 38);
/* oklch */ color: oklch(31.3% 0.106 8.6);
Tailwind
colors: {
  custom: {
    50: '#8d5660',
    500: '#5a1026',
    950: '#000000',
  },
}
SCSS
$custom: #5a1026;
$custom-light: #8d5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1026",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 342.162,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3131,
    "c": 0.10607,
    "h": 8.6
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#5A1026
secondary
#339376
accent
#EDB83B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A1026

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

Preview Lab → · Contrast checker → · Palette generator →

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