#5A0E29#5A0E29

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

Color values

HEX#5A0E29
RGBrgb(90, 14, 41)
HSLhsl(339, 73%, 20%)
HSVhsv(339, 84%, 35%)
CMYKcmyk(0%, 84.4%, 54.4%, 64.7%)
CIE-LABlab(18.58, 35.44, 3.88)
CIE-LCHlch(18.58, 35.65, 6.24°)
OKLaboklab(31.22% 0.1084 0.0102)
OKLCHoklch(31.22% 0.109 5.4)
XYZxyz(4.7742, 2.6485, 2.3572)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E29 #0E5A3F
analogous
#5A0E4F #5A0E29 #5A190E
triadic
#5A0E29 #295A0E #0E295A
tetradic
#5A0E29 #4F5A0E #0E5A3F #190E5A
square
#5A0E29 #4F5A0E #0E5A3F #190E5A
split-complementary
#5A0E29 #0E5A19 #0E4F5A
monochromatic
#1A040C #250611 #5A0E29 #8F1641 #C41E59

Accessibility & contrast

On white

13.73
#5A0E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A0E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E29
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E29#FFFFFF#000000##FFFFFF
##5A0E291.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e29;
/* rgb */ color: rgb(90, 14, 41);
/* oklch */ color: oklch(31.2% 0.109 5.4);
Tailwind
colors: {
  custom: {
    50: '#8d5662',
    500: '#5a0e29',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e29;
$custom-light: #8d5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e29",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 338.684,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31222,
    "c": 0.10886,
    "h": 5.4
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#5A0E29
secondary
#309470
accent
#F0AE38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0E29

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

Preview Lab → · Contrast checker → · Palette generator →

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