#520F25#520F25

#520F25 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.099 H 6.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#520F25
RGBrgb(82, 15, 37)
HSLhsl(340, 69%, 19%)
HSVhsv(340, 82%, 32%)
CMYKcmyk(0%, 81.7%, 54.9%, 67.8%)
CIE-LABlab(16.84, 32.13, 4.05)
CIE-LCHlch(16.84, 32.39, 7.18°)
OKLaboklab(29.59% 0.0981 0.0106)
OKLCHoklch(29.59% 0.099 6.2)
XYZxyz(3.9848, 2.2696, 1.9782)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F25 #0F523C
analogous
#520F47 #520F25 #521B0F
triadic
#520F25 #25520F #0F2552
tetradic
#520F25 #47520F #0F523C #1B0F52
square
#520F25 #47520F #0F523C #1B0F52
split-complementary
#520F25 #0F521B #0F4752
monochromatic
#1A050C #1E060E #520F25 #86183C #B92254

Accessibility & contrast

On white

14.44
#520F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#520F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F25
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F25#FFFFFF#000000##FFFFFF
##520F251.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202125
Deuteranopia (green-blind)
#312E23
Tritanopia (blue-blind)
#5A0218
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520f25;
/* rgb */ color: rgb(82, 15, 37);
/* oklch */ color: oklch(29.6% 0.099 6.2);
Tailwind
colors: {
  custom: {
    50: '#87545f',
    500: '#520f25',
    950: '#000000',
  },
}
SCSS
$custom: #520f25;
$custom-light: #87545f;
$custom-dark: #000000;
JSON
{
  "hex": "#520f25",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 340.299,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2959,
    "c": 0.09867,
    "h": 6.2
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#520F25
secondary
#318C6E
accent
#ECB23C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520F25

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

Preview Lab → · Contrast checker → · Palette generator →

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