#5A0E2E#5A0E2E

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

Color values

HEX#5A0E2E
RGBrgb(90, 14, 46)
HSLhsl(335, 73%, 20%)
HSVhsv(335, 84%, 35%)
CMYKcmyk(0%, 84.4%, 48.9%, 64.7%)
CIE-LABlab(18.74, 35.94, 0.54)
CIE-LCHlch(18.74, 35.94, 0.86°)
OKLaboklab(31.39% 0.1104 0.0018)
OKLCHoklch(31.39% 0.11 0.9)
XYZxyz(4.8670, 2.6856, 2.8463)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E2E #0E5A3A
analogous
#5A0E54 #5A0E2E #5A140E
triadic
#5A0E2E #2E5A0E #0E2E5A
tetradic
#5A0E2E #545A0E #0E5A3A #140E5A
square
#5A0E2E #545A0E #0E5A3A #140E5A
split-complementary
#5A0E2E #0E5A14 #0E545A
monochromatic
#1A040E #250613 #5A0E2E #8F1649 #C41E64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A0E2E#FFFFFF#000000##FFFFFF
##5A0E2E1.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)
#20242F
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#62001C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0e2e;
/* rgb */ color: rgb(90, 14, 46);
/* oklch */ color: oklch(31.4% 0.110 0.9);
Tailwind
colors: {
  custom: {
    50: '#8d5666',
    500: '#5a0e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e2e;
$custom-light: #8d5666;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e2e",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 334.737,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.11039,
    "h": 0.9
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#5A0E2E
secondary
#30946A
accent
#F0A238
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5A0E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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