#520C25#520C25

#520C25 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.102 H 5.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#520C25
RGBrgb(82, 12, 37)
HSLhsl(339, 74%, 18%)
HSVhsv(339, 85%, 32%)
CMYKcmyk(0%, 85.4%, 54.9%, 67.8%)
CIE-LABlab(16.46, 33.21, 3.50)
CIE-LCHlch(16.46, 33.40, 6.02°)
OKLaboklab(29.31% 0.1016 0.0092)
OKLCHoklch(29.31% 0.102 5.2)
XYZxyz(3.9454, 2.1909, 1.9650)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520C25 #0C5239
analogous
#520C48 #520C25 #52160C
triadic
#520C25 #25520C #0C2552
tetradic
#520C25 #48520C #0C5239 #160C52
square
#520C25 #48520C #0C5239 #160C52
split-complementary
#520C25 #0C5216 #0C4852
monochromatic
#1B040C #1D040D #520C25 #87143D #BD1C55

Accessibility & contrast

On white

14.60
#520C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520C25
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520C25#FFFFFF#000000##FFFFFF
##520C251.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2026
Deuteranopia (green-blind)
#302E23
Tritanopia (blue-blind)
#5A0017
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520c25;
/* rgb */ color: rgb(82, 12, 37);
/* oklch */ color: oklch(29.3% 0.102 5.2);
Tailwind
colors: {
  custom: {
    50: '#87535f',
    500: '#520c25',
    950: '#000000',
  },
}
SCSS
$custom: #520c25;
$custom-light: #87535f;
$custom-dark: #000000;
JSON
{
  "hex": "#520c25",
  "rgb": {
    "r": 82,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 338.571,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.10201,
    "h": 5.2
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#520C25
secondary
#2C8D6B
accent
#F1AF37
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520C25

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

Preview Lab → · Contrast checker → · Palette generator →

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