#520F3F#520F3F

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

Color values

HEX#520F3F
RGBrgb(82, 15, 63)
HSLhsl(317, 69%, 19%)
HSVhsv(317, 82%, 32%)
CMYKcmyk(0%, 81.7%, 23.2%, 67.8%)
CIE-LABlab(17.90, 35.42, -12.91)
CIE-LCHlch(17.90, 37.70, 339.97°)
OKLaboklab(30.7% 0.1064 -0.0347)
OKLCHoklch(30.7% 0.112 341.9)
XYZxyz(4.5479, 2.4948, 4.9437)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3F #0F5222
analogous
#440F52 #520F3F #520F1E
triadic
#520F3F #3F520F #0F3F52
tetradic
#520F3F #52440F #0F5222 #0F1E52
square
#520F3F #52440F #0F5222 #0F1E52
split-complementary
#520F3F #1E520F #0F5244
monochromatic
#1A0514 #1E0617 #520F3F #861867 #B9228E

Accessibility & contrast

On white

14.01
#520F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#520F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F3F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3F#FFFFFF#000000##FFFFFF
##520F3F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#581025
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f3f;
/* rgb */ color: rgb(82, 15, 63);
/* oklch */ color: oklch(30.7% 0.112 341.9);
Tailwind
colors: {
  custom: {
    50: '#855574',
    500: '#520f3f',
    950: '#000000',
  },
}
SCSS
$custom: #520f3f;
$custom-light: #855574;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3f",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 317.015,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30704,
    "c": 0.11188,
    "h": 341.9
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#520F3F
secondary
#318C4B
accent
#EC6E3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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