#5A0E22#5A0E22

#5A0E22 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.108 H 11.5°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#5A0E22
RGBrgb(90, 14, 34)
HSLhsl(344, 73%, 20%)
HSVhsv(344, 84%, 35%)
CMYKcmyk(0%, 84.4%, 62.2%, 64.7%)
CIE-LABlab(18.38, 34.84, 8.61)
CIE-LCHlch(18.38, 35.89, 13.89°)
OKLaboklab(31.01% 0.1054 0.0215)
OKLCHoklch(31.01% 0.108 11.5)
XYZxyz(4.6627, 2.6039, 1.7701)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E22 #0E5A46
analogous
#5A0E48 #5A0E22 #5A200E
triadic
#5A0E22 #225A0E #0E225A
tetradic
#5A0E22 #485A0E #0E5A46 #200E5A
square
#5A0E22 #485A0E #0E5A46 #200E5A
split-complementary
#5A0E22 #0E5A20 #0E485A
monochromatic
#1A040A #25060E #5A0E22 #8F1636 #C41E4A

Accessibility & contrast

On white

13.81
#5A0E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A0E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E22
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E22#FFFFFF#000000##FFFFFF
##5A0E221.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232322
Deuteranopia (green-blind)
#373220
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e22;
/* rgb */ color: rgb(90, 14, 34);
/* oklch */ color: oklch(31.0% 0.108 11.5);
Tailwind
colors: {
  custom: {
    50: '#8e555c',
    500: '#5a0e22',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e22;
$custom-light: #8e555c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e22",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 344.211,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31015,
    "c": 0.10752,
    "h": 11.5
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#5A0E22
secondary
#30947A
accent
#F0BF38
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0E22

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

Preview Lab → · Contrast checker → · Palette generator →

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