#5A0E2D#5A0E2D

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

Color values

HEX#5A0E2D
RGBrgb(90, 14, 45)
HSLhsl(336, 73%, 20%)
HSVhsv(336, 84%, 35%)
CMYKcmyk(0%, 84.4%, 50%, 64.7%)
CIE-LABlab(18.70, 35.83, 1.20)
CIE-LCHlch(18.70, 35.85, 1.92°)
OKLaboklab(31.36% 0.11 0.0035)
OKLCHoklch(31.36% 0.11 1.8)
XYZxyz(4.8475, 2.6779, 2.7437)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E2D #0E5A3B
analogous
#5A0E53 #5A0E2D #5A150E
triadic
#5A0E2D #2D5A0E #0E2D5A
tetradic
#5A0E2D #535A0E #0E5A3B #150E5A
square
#5A0E2D #535A0E #0E5A3B #150E5A
split-complementary
#5A0E2D #0E5A15 #0E535A
monochromatic
#1A040D #250613 #5A0E2D #8F1647 #C41E62

Accessibility & contrast

On white

13.68
#5A0E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E2D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E2D#FFFFFF#000000##FFFFFF
##5A0E2D1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#62001C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e2d;
/* rgb */ color: rgb(90, 14, 45);
/* oklch */ color: oklch(31.4% 0.110 1.8);
Tailwind
colors: {
  custom: {
    50: '#8d5665',
    500: '#5a0e2d',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e2d;
$custom-light: #8d5665;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e2d",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 335.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31357,
    "c": 0.11004,
    "h": 1.8
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#5A0E2D
secondary
#30946B
accent
#F0A538
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5A0E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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