#5A0E2C#5A0E2C

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

Color values

HEX#5A0E2C
RGBrgb(90, 14, 44)
HSLhsl(336, 73%, 20%)
HSVhsv(336, 84%, 35%)
CMYKcmyk(0%, 84.4%, 51.1%, 64.7%)
CIE-LABlab(18.67, 35.73, 1.87)
CIE-LCHlch(18.67, 35.78, 2.99°)
OKLaboklab(31.32% 0.1096 0.0052)
OKLCHoklch(31.32% 0.11 2.7)
XYZxyz(4.8285, 2.6702, 2.6435)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E2C #0E5A3C
analogous
#5A0E52 #5A0E2C #5A160E
triadic
#5A0E2C #2C5A0E #0E2C5A
tetradic
#5A0E2C #525A0E #0E5A3C #160E5A
square
#5A0E2C #525A0E #0E5A3C #160E5A
split-complementary
#5A0E2C #0E5A16 #0E525A
monochromatic
#1A040D #250612 #5A0E2C #8F1646 #C41E60

Accessibility & contrast

On white

13.69
#5A0E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E2C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E2C#FFFFFF#000000##FFFFFF
##5A0E2C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0e2c;
/* rgb */ color: rgb(90, 14, 44);
/* oklch */ color: oklch(31.3% 0.110 2.7);
Tailwind
colors: {
  custom: {
    50: '#8d5664',
    500: '#5a0e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e2c;
$custom-light: #8d5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e2c",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 336.316,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.10972,
    "h": 2.7
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#5A0E2C
secondary
#30946C
accent
#F0A738
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5A0E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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