#520E26#520E26

#520E26 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.100 H 4.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#520E26
RGBrgb(82, 14, 38)
HSLhsl(339, 71%, 19%)
HSVhsv(339, 83%, 32%)
CMYKcmyk(0%, 82.9%, 53.7%, 67.8%)
CIE-LABlab(16.74, 32.61, 3.18)
CIE-LCHlch(16.74, 32.76, 5.57°)
OKLaboklab(29.53% 0.0997 0.0084)
OKLCHoklch(29.53% 0.1 4.8)
XYZxyz(3.9869, 2.2484, 2.0574)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E26 #0E523A
analogous
#520E48 #520E26 #52180E
triadic
#520E26 #26520E #0E2652
tetradic
#520E26 #48520E #0E523A #180E52
square
#520E26 #48520E #0E523A #180E52
split-complementary
#520E26 #0E5218 #0E4852
monochromatic
#1A040C #1E050E #520E26 #86173E #BB2056

Accessibility & contrast

On white

14.49
#520E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#520E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E26
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E26#FFFFFF#000000##FFFFFF
##520E261.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2127
Deuteranopia (green-blind)
#312E24
Tritanopia (blue-blind)
#5A0118
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e26;
/* rgb */ color: rgb(82, 14, 38);
/* oklch */ color: oklch(29.5% 0.100 4.8);
Tailwind
colors: {
  custom: {
    50: '#875460',
    500: '#520e26',
    950: '#000000',
  },
}
SCSS
$custom: #520e26;
$custom-light: #875460;
$custom-dark: #000000;
JSON
{
  "hex": "#520e26",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 338.824,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.10008,
    "h": 4.8
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#520E26
secondary
#2F8C6C
accent
#EEAE3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520E26

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

Preview Lab → · Contrast checker → · Palette generator →

#520E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva