#520F38#520F38

#520F38 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.107 H 347.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#520F38
RGBrgb(82, 15, 56)
HSLhsl(323, 69%, 19%)
HSVhsv(323, 82%, 32%)
CMYKcmyk(0%, 81.7%, 31.7%, 67.8%)
CIE-LABlab(17.56, 34.39, -8.50)
CIE-LCHlch(17.56, 35.43, 346.11°)
OKLaboklab(30.35% 0.1048 -0.0224)
OKLCHoklch(30.35% 0.107 347.9)
XYZxyz(4.3645, 2.4215, 3.9782)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F38 #0F5229
analogous
#4B0F52 #520F38 #520F17
triadic
#520F38 #38520F #0F3852
tetradic
#520F38 #524B0F #0F5229 #0F1752
square
#520F38 #524B0F #0F5229 #0F1752
split-complementary
#520F38 #17520F #0F524B
monochromatic
#1A0512 #1E0615 #520F38 #86185B #B9227F

Accessibility & contrast

On white

14.15
#520F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#520F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F38
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F38#FFFFFF#000000##FFFFFF
##520F381.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192439
Deuteranopia (green-blind)
#2D2F36
Tritanopia (blue-blind)
#580C22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f38;
/* rgb */ color: rgb(82, 15, 56);
/* oklch */ color: oklch(30.3% 0.107 347.9);
Tailwind
colors: {
  custom: {
    50: '#86556e',
    500: '#520f38',
    950: '#000000',
  },
}
SCSS
$custom: #520f38;
$custom-light: #86556e;
$custom-dark: #000000;
JSON
{
  "hex": "#520f38",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 323.284,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3035,
    "c": 0.10717,
    "h": 347.9
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#520F38
secondary
#318C54
accent
#EC803C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F38

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

Preview Lab → · Contrast checker → · Palette generator →

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