#5A0E26#5A0E26

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

Color values

HEX#5A0E26
RGBrgb(90, 14, 38)
HSLhsl(341, 73%, 20%)
HSVhsv(341, 84%, 35%)
CMYKcmyk(0%, 84.4%, 57.8%, 64.7%)
CIE-LABlab(18.49, 35.17, 5.90)
CIE-LCHlch(18.49, 35.66, 9.52°)
OKLaboklab(31.13% 0.1071 0.0151)
OKLCHoklch(31.13% 0.108 8)
XYZxyz(4.7238, 2.6284, 2.0919)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E26 #0E5A42
analogous
#5A0E4C #5A0E26 #5A1C0E
triadic
#5A0E26 #265A0E #0E265A
tetradic
#5A0E26 #4C5A0E #0E5A42 #1C0E5A
square
#5A0E26 #4C5A0E #0E5A42 #1C0E5A
split-complementary
#5A0E26 #0E5A1C #0E4C5A
monochromatic
#1A040B #250610 #5A0E26 #8F163C #C41E53

Accessibility & contrast

On white

13.77
#5A0E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E26
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E26#FFFFFF#000000##FFFFFF
##5A0E261.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#363324
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e26;
/* rgb */ color: rgb(90, 14, 38);
/* oklch */ color: oklch(31.1% 0.108 8.0);
Tailwind
colors: {
  custom: {
    50: '#8e5560',
    500: '#5a0e26',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e26;
$custom-light: #8e5560;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e26",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 341.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.10817,
    "h": 8
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#5A0E26
secondary
#309474
accent
#F0B638
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0E26

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

Preview Lab → · Contrast checker → · Palette generator →

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