#5A0D26#5A0D26

#5A0D26 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.109 H 7.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#5A0D26
RGBrgb(90, 13, 38)
HSLhsl(341, 75%, 20%)
HSVhsv(341, 86%, 35%)
CMYKcmyk(0%, 85.6%, 57.8%, 64.7%)
CIE-LABlab(18.37, 35.50, 5.74)
CIE-LCHlch(18.37, 35.96, 9.18°)
OKLaboklab(31.04% 0.1082 0.0147)
OKLCHoklch(31.04% 0.109 7.7)
XYZxyz(4.7107, 2.6021, 2.0876)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0D26 #0D5A41
analogous
#5A0D4D #5A0D26 #5A1A0D
triadic
#5A0D26 #265A0D #0D265A
tetradic
#5A0D26 #4D5A0D #0D5A41 #1A0D5A
square
#5A0D26 #4D5A0D #0D5A41 #1A0D5A
split-complementary
#5A0D26 #0D5A1A #0D4D5A
monochromatic
#1B040B #25050F #5A0D26 #8F153D #C51C53

Accessibility & contrast

On white

13.81
#5A0D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A0D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0D26
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0D26#FFFFFF#000000##FFFFFF
##5A0D261.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#363224
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0d26;
/* rgb */ color: rgb(90, 13, 38);
/* oklch */ color: oklch(31.0% 0.109 7.7);
Tailwind
colors: {
  custom: {
    50: '#8e5560',
    500: '#5a0d26',
    950: '#000000',
  },
}
SCSS
$custom: #5a0d26;
$custom-light: #8e5560;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0d26",
  "rgb": {
    "r": 90,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 340.519,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31044,
    "c": 0.10915,
    "h": 7.7
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#5A0D26
secondary
#2E9473
accent
#F1B536
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0D26

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

Preview Lab → · Contrast checker → · Palette generator →

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