#5A0E28#5A0E28

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

Color values

HEX#5A0E28
RGBrgb(90, 14, 40)
HSLhsl(339, 73%, 20%)
HSVhsv(339, 84%, 35%)
CMYKcmyk(0%, 84.4%, 55.6%, 64.7%)
CIE-LABlab(18.55, 35.35, 4.55)
CIE-LCHlch(18.55, 35.64, 7.33°)
OKLaboklab(31.19% 0.108 0.0118)
OKLCHoklch(31.19% 0.109 6.3)
XYZxyz(4.7569, 2.6416, 2.2665)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E28 #0E5A40
analogous
#5A0E4E #5A0E28 #5A1A0E
triadic
#5A0E28 #285A0E #0E285A
tetradic
#5A0E28 #4E5A0E #0E5A40 #1A0E5A
square
#5A0E28 #4E5A0E #0E5A40 #1A0E5A
split-complementary
#5A0E28 #0E5A1A #0E4E5A
monochromatic
#1A040C #250610 #5A0E28 #8F1640 #C41E57

Accessibility & contrast

On white

13.74
#5A0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E28
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E28#FFFFFF#000000##FFFFFF
##5A0E281.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222429
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e28;
/* rgb */ color: rgb(90, 14, 40);
/* oklch */ color: oklch(31.2% 0.109 6.3);
Tailwind
colors: {
  custom: {
    50: '#8d5661',
    500: '#5a0e28',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e28;
$custom-light: #8d5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e28",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 339.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.10861,
    "h": 6.3
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#5A0E28
secondary
#309472
accent
#F0B138
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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