#520F22#520F22

#520F22 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.098 H 9.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#520F22
RGBrgb(82, 15, 34)
HSLhsl(343, 69%, 19%)
HSVhsv(343, 82%, 32%)
CMYKcmyk(0%, 81.7%, 58.5%, 67.8%)
CIE-LABlab(16.76, 31.85, 6.10)
CIE-LCHlch(16.76, 32.43, 10.84°)
OKLaboklab(29.5% 0.0968 0.0155)
OKLCHoklch(29.5% 0.098 9.1)
XYZxyz(3.9396, 2.2515, 1.7402)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F22 #0F523F
analogous
#520F44 #520F22 #521E0F
triadic
#520F22 #22520F #0F2252
tetradic
#520F22 #44520F #0F523F #1E0F52
square
#520F22 #44520F #0F523F #1E0F52
split-complementary
#520F22 #0F521E #0F4452
monochromatic
#1A050B #1E060D #520F22 #861837 #B9224D

Accessibility & contrast

On white

14.48
#520F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F22
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F22#FFFFFF#000000##FFFFFF
##520F221.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202122
Deuteranopia (green-blind)
#322E20
Tritanopia (blue-blind)
#5A0117
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f22;
/* rgb */ color: rgb(82, 15, 34);
/* oklch */ color: oklch(29.5% 0.098 9.1);
Tailwind
colors: {
  custom: {
    50: '#87545c',
    500: '#520f22',
    950: '#000000',
  },
}
SCSS
$custom: #520f22;
$custom-light: #87545c;
$custom-dark: #000000;
JSON
{
  "hex": "#520f22",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 342.985,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29497,
    "c": 0.09803,
    "h": 9.1
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#520F22
secondary
#318C72
accent
#ECBA3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520F22

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

Preview Lab → · Contrast checker → · Palette generator →

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