#5A0E2A#5A0E2A

#5A0E2A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 4.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#5A0E2A
RGBrgb(90, 14, 42)
HSLhsl(338, 73%, 20%)
HSVhsv(338, 84%, 35%)
CMYKcmyk(0%, 84.4%, 53.3%, 64.7%)
CIE-LABlab(18.61, 35.54, 3.20)
CIE-LCHlch(18.61, 35.68, 5.15°)
OKLaboklab(31.26% 0.1088 0.0085)
OKLCHoklch(31.26% 0.109 4.5)
XYZxyz(4.7918, 2.6556, 2.4503)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E2A #0E5A3E
analogous
#5A0E50 #5A0E2A #5A180E
triadic
#5A0E2A #2A5A0E #0E2A5A
tetradic
#5A0E2A #505A0E #0E5A3E #180E5A
square
#5A0E2A #505A0E #0E5A3E #180E5A
split-complementary
#5A0E2A #0E5A18 #0E505A
monochromatic
#1A040C #250611 #5A0E2A #8F1643 #C41E5B

Accessibility & contrast

On white

13.72
#5A0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E2A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E2A#FFFFFF#000000##FFFFFF
##5A0E2A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#353328
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e2a;
/* rgb */ color: rgb(90, 14, 42);
/* oklch */ color: oklch(31.3% 0.109 4.5);
Tailwind
colors: {
  custom: {
    50: '#8d5663',
    500: '#5a0e2a',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e2a;
$custom-light: #8d5663;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e2a",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 337.895,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.10912,
    "h": 4.5
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#5A0E2A
secondary
#30946F
accent
#F0AC38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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