#520E23#520E23

#520E23 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.099 H 7.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#520E23
RGBrgb(82, 14, 35)
HSLhsl(341, 71%, 19%)
HSVhsv(341, 83%, 32%)
CMYKcmyk(0%, 82.9%, 57.3%, 67.8%)
CIE-LABlab(16.65, 32.32, 5.22)
CIE-LCHlch(16.65, 32.74, 9.18°)
OKLaboklab(29.43% 0.0984 0.0134)
OKLCHoklch(29.43% 0.099 7.8)
XYZxyz(3.9404, 2.2298, 1.8127)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E23 #0E523D
analogous
#520E45 #520E23 #521B0E
triadic
#520E23 #23520E #0E2352
tetradic
#520E23 #45520E #0E523D #1B0E52
square
#520E23 #45520E #0E523D #1B0E52
split-complementary
#520E23 #0E521B #0E4552
monochromatic
#1A040B #1E050D #520E23 #861739 #BB2050

Accessibility & contrast

On white

14.52
#520E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E23
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E23#FFFFFF#000000##FFFFFF
##520E231.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#5A0017
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e23;
/* rgb */ color: rgb(82, 14, 35);
/* oklch */ color: oklch(29.4% 0.099 7.8);
Tailwind
colors: {
  custom: {
    50: '#87545d',
    500: '#520e23',
    950: '#000000',
  },
}
SCSS
$custom: #520e23;
$custom-light: #87545d;
$custom-dark: #000000;
JSON
{
  "hex": "#520e23",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 341.471,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29429,
    "c": 0.09935,
    "h": 7.8
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#520E23
secondary
#2F8C70
accent
#EEB63A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520E23

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

Preview Lab → · Contrast checker → · Palette generator →

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