#520E3C#520E3C

#520E3C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.111 H 344.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#520E3C
RGBrgb(82, 14, 60)
HSLhsl(319, 71%, 19%)
HSVhsv(319, 83%, 32%)
CMYKcmyk(0%, 82.9%, 26.8%, 67.8%)
CIE-LABlab(17.62, 35.33, -11.23)
CIE-LCHlch(17.62, 37.07, 342.36°)
OKLaboklab(30.46% 0.1069 -0.03)
OKLCHoklch(30.46% 0.111 344.3)
XYZxyz(4.4525, 2.4346, 4.5095)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E3C #0E5224
analogous
#460E52 #520E3C #520E1A
triadic
#520E3C #3C520E #0E3C52
tetradic
#520E3C #52460E #0E5224 #0E1A52
square
#520E3C #52460E #0E5224 #0E1A52
split-complementary
#520E3C #1A520E #0E5246
monochromatic
#1A0413 #1E0516 #520E3C #861762 #BB2089

Accessibility & contrast

On white

14.12
#520E3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#520E3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E3C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E3C#FFFFFF#000000##FFFFFF
##520E3C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#2B2F3A
Tritanopia (blue-blind)
#580D23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520e3c;
/* rgb */ color: rgb(82, 14, 60);
/* oklch */ color: oklch(30.5% 0.111 344.3);
Tailwind
colors: {
  custom: {
    50: '#865571',
    500: '#520e3c',
    950: '#000000',
  },
}
SCSS
$custom: #520e3c;
$custom-light: #865571;
$custom-dark: #000000;
JSON
{
  "hex": "#520e3c",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 60
  },
  "hsl": {
    "h": 319.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30456,
    "c": 0.111,
    "h": 344.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#520E3C
secondary
#2F8C4D
accent
#EE743A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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