#5A0E2B#5A0E2B

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

Color values

HEX#5A0E2B
RGBrgb(90, 14, 43)
HSLhsl(337, 73%, 20%)
HSVhsv(337, 84%, 35%)
CMYKcmyk(0%, 84.4%, 52.2%, 64.7%)
CIE-LABlab(18.64, 35.63, 2.53)
CIE-LCHlch(18.64, 35.72, 4.07°)
OKLaboklab(31.29% 0.1092 0.0068)
OKLCHoklch(31.29% 0.109 3.6)
XYZxyz(4.8099, 2.6628, 2.5457)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E2B #0E5A3D
analogous
#5A0E51 #5A0E2B #5A170E
triadic
#5A0E2B #2B5A0E #0E2B5A
tetradic
#5A0E2B #515A0E #0E5A3D #170E5A
square
#5A0E2B #515A0E #0E5A3D #170E5A
split-complementary
#5A0E2B #0E5A17 #0E515A
monochromatic
#1A040D #250612 #5A0E2B #8F1644 #C41E5E

Accessibility & contrast

On white

13.70
#5A0E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E2B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E2B#FFFFFF#000000##FFFFFF
##5A0E2B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0e2b;
/* rgb */ color: rgb(90, 14, 43);
/* oklch */ color: oklch(31.3% 0.109 3.6);
Tailwind
colors: {
  custom: {
    50: '#8d5664',
    500: '#5a0e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e2b;
$custom-light: #8d5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e2b",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 337.105,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.10941,
    "h": 3.6
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#5A0E2B
secondary
#30946E
accent
#F0AA38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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