#520F3E#520F3E

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

Color values

HEX#520F3E
RGBrgb(82, 15, 62)
HSLhsl(318, 69%, 19%)
HSVhsv(318, 82%, 32%)
CMYKcmyk(0%, 81.7%, 24.4%, 67.8%)
CIE-LABlab(17.85, 35.27, -12.29)
CIE-LCHlch(17.85, 37.35, 340.79°)
OKLaboklab(30.65% 0.1062 -0.0329)
OKLCHoklch(30.65% 0.111 342.8)
XYZxyz(4.5202, 2.4838, 4.7979)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3E #0F5223
analogous
#450F52 #520F3E #520F1D
triadic
#520F3E #3E520F #0F3E52
tetradic
#520F3E #52450F #0F5223 #0F1D52
square
#520F3E #52450F #0F5223 #0F1D52
split-complementary
#520F3E #1D520F #0F5245
monochromatic
#1A0514 #1E0617 #520F3E #861865 #B9228C

Accessibility & contrast

On white

14.03
#520F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F3E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3E#FFFFFF#000000##FFFFFF
##520F3E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#2B303C
Tritanopia (blue-blind)
#580F25
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f3e;
/* rgb */ color: rgb(82, 15, 62);
/* oklch */ color: oklch(30.7% 0.111 342.8);
Tailwind
colors: {
  custom: {
    50: '#865573',
    500: '#520f3e',
    950: '#000000',
  },
}
SCSS
$custom: #520f3e;
$custom-light: #865573;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3e",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 317.91,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30651,
    "c": 0.11117,
    "h": 342.8
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#520F3E
secondary
#318C4C
accent
#EC703C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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