#520E2C#520E2C

#520E2C is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.102 H 359.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#520E2C
RGBrgb(82, 14, 44)
HSLhsl(334, 71%, 19%)
HSVhsv(334, 83%, 32%)
CMYKcmyk(0%, 82.9%, 46.3%, 67.8%)
CIE-LABlab(16.94, 33.24, -0.86)
CIE-LCHlch(16.94, 33.25, 358.51°)
OKLaboklab(29.74% 0.1021 -0.0019)
OKLCHoklch(29.74% 0.102 359)
XYZxyz(4.0916, 2.2903, 2.6090)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E2C #0E5234
analogous
#520E4E #520E2C #52120E
triadic
#520E2C #2C520E #0E2C52
tetradic
#520E2C #4E520E #0E5234 #120E52
square
#520E2C #4E520E #0E5234 #120E52
split-complementary
#520E2C #0E5212 #0E4E52
monochromatic
#1A040E #1E0510 #520E2C #861748 #BB2064

Accessibility & contrast

On white

14.40
#520E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#520E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E2C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E2C#FFFFFF#000000##FFFFFF
##520E2C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222D
Deuteranopia (green-blind)
#302E2A
Tritanopia (blue-blind)
#5A041B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520e2c;
/* rgb */ color: rgb(82, 14, 44);
/* oklch */ color: oklch(29.7% 0.102 359.0);
Tailwind
colors: {
  custom: {
    50: '#865464',
    500: '#520e2c',
    950: '#000000',
  },
}
SCSS
$custom: #520e2c;
$custom-light: #865464;
$custom-dark: #000000;
JSON
{
  "hex": "#520e2c",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 333.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.10214,
    "h": 359
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#520E2C
secondary
#2F8C63
accent
#EE9E3A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #520E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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