#520E2F#520E2F

#520E2F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.103 H 356.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#520E2F
RGBrgb(82, 14, 47)
HSLhsl(331, 71%, 19%)
HSVhsv(331, 83%, 32%)
CMYKcmyk(0%, 82.9%, 42.7%, 67.8%)
CIE-LABlab(17.05, 33.59, -2.85)
CIE-LCHlch(17.05, 33.71, 355.15°)
OKLaboklab(29.86% 0.1032 -0.0071)
OKLCHoklch(29.86% 0.103 356.1)
XYZxyz(4.1501, 2.3137, 2.9168)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E2F #0E5231
analogous
#520E51 #520E2F #520F0E
triadic
#520E2F #2F520E #0E2F52
tetradic
#520E2F #51520E #0E5231 #0F0E52
square
#520E2F #51520E #0E5231 #0F0E52
split-complementary
#520E2F #0E520F #0E5152
monochromatic
#1A040F #1E0511 #520E2F #86174D #BB206B

Accessibility & contrast

On white

14.36
#520E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E2F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E2F#FFFFFF#000000##FFFFFF
##520E2F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2230
Deuteranopia (green-blind)
#2F2F2D
Tritanopia (blue-blind)
#59051D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520e2f;
/* rgb */ color: rgb(82, 14, 47);
/* oklch */ color: oklch(29.9% 0.103 356.1);
Tailwind
colors: {
  custom: {
    50: '#865467',
    500: '#520e2f',
    950: '#000000',
  },
}
SCSS
$custom: #520e2f;
$custom-light: #865467;
$custom-dark: #000000;
JSON
{
  "hex": "#520e2f",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 330.882,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29858,
    "c": 0.10345,
    "h": 356.1
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#520E2F
secondary
#2F8C5F
accent
#EE973A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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