#520F2D#520F2D

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

Color values

HEX#520F2D
RGBrgb(82, 15, 45)
HSLhsl(333, 69%, 19%)
HSVhsv(333, 82%, 32%)
CMYKcmyk(0%, 81.7%, 45.1%, 67.8%)
CIE-LABlab(17.11, 32.99, -1.33)
CIE-LCHlch(17.11, 33.01, 357.68°)
OKLaboklab(29.87% 0.1013 -0.0031)
OKLCHoklch(29.87% 0.101 358.3)
XYZxyz(4.1245, 2.3255, 2.7138)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F2D #0F5234
analogous
#520F4F #520F2D #52130F
triadic
#520F2D #2D520F #0F2D52
tetradic
#520F2D #4F520F #0F5234 #130F52
square
#520F2D #4F520F #0F5234 #130F52
split-complementary
#520F2D #0F5213 #0F4F52
monochromatic
#1A050E #1E0611 #520F2D #861849 #B92266

Accessibility & contrast

On white

14.33
#520F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#520F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F2D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F2D#FFFFFF#000000##FFFFFF
##520F2D1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222E
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#59061C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520f2d;
/* rgb */ color: rgb(82, 15, 45);
/* oklch */ color: oklch(29.9% 0.101 358.3);
Tailwind
colors: {
  custom: {
    50: '#865565',
    500: '#520f2d',
    950: '#000000',
  },
}
SCSS
$custom: #520f2d;
$custom-light: #865565;
$custom-dark: #000000;
JSON
{
  "hex": "#520f2d",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 333.134,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.10136,
    "h": 358.3
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#520F2D
secondary
#318C63
accent
#EC9D3C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #520F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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