#520E3F#520E3F

#520E3F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.113 H 341.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#520E3F
RGBrgb(82, 14, 63)
HSLhsl(317, 71%, 19%)
HSVhsv(317, 83%, 32%)
CMYKcmyk(0%, 82.9%, 23.2%, 67.8%)
CIE-LABlab(17.77, 35.78, -13.10)
CIE-LCHlch(17.77, 38.10, 339.88°)
OKLaboklab(30.61% 0.1075 -0.0352)
OKLCHoklch(30.61% 0.113 341.9)
XYZxyz(4.5341, 2.4673, 4.9391)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E3F #0E5221
analogous
#430E52 #520E3F #520E1D
triadic
#520E3F #3F520E #0E3F52
tetradic
#520E3F #52430E #0E5221 #0E1D52
square
#520E3F #52430E #0E5221 #0E1D52
split-complementary
#520E3F #1D520E #0E5243
monochromatic
#1A0414 #1E0517 #520E3F #861767 #BB208F

Accessibility & contrast

On white

14.06
#520E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E3F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E3F#FFFFFF#000000##FFFFFF
##520E3F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152440
Deuteranopia (green-blind)
#2A2F3D
Tritanopia (blue-blind)
#580F25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520e3f;
/* rgb */ color: rgb(82, 14, 63);
/* oklch */ color: oklch(30.6% 0.113 341.9);
Tailwind
colors: {
  custom: {
    50: '#865574',
    500: '#520e3f',
    950: '#000000',
  },
}
SCSS
$custom: #520e3f;
$custom-light: #865574;
$custom-dark: #000000;
JSON
{
  "hex": "#520e3f",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 316.765,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30613,
    "c": 0.11309,
    "h": 341.9
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#520E3F
secondary
#2F8C49
accent
#EE6C3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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