#520B26#520B26

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

Color values

HEX#520B26
RGBrgb(82, 11, 38)
HSLhsl(337, 76%, 18%)
HSVhsv(337, 87%, 32%)
CMYKcmyk(0%, 86.6%, 53.7%, 67.8%)
CIE-LABlab(16.37, 33.64, 2.65)
CIE-LCHlch(16.37, 33.75, 4.51°)
OKLaboklab(29.26% 0.1031 0.0071)
OKLCHoklch(29.26% 0.103 3.9)
XYZxyz(3.9495, 2.1737, 2.0449)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B26 #0B5237
analogous
#520B49 #520B26 #52130B
triadic
#520B26 #26520B #0B2652
tetradic
#520B26 #49520B #0B5237 #130B52
square
#520B26 #49520B #0B5237 #130B52
split-complementary
#520B26 #0B5213 #0B4952
monochromatic
#1B040D #1C040D #520B26 #88123F #BE1958

Accessibility & contrast

On white

14.64
#520B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#520B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B26
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B26#FFFFFF#000000##FFFFFF
##520B261.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520b26;
/* rgb */ color: rgb(82, 11, 38);
/* oklch */ color: oklch(29.3% 0.103 3.9);
Tailwind
colors: {
  custom: {
    50: '#875360',
    500: '#520b26',
    950: '#000000',
  },
}
SCSS
$custom: #520b26;
$custom-light: #875360;
$custom-dark: #000000;
JSON
{
  "hex": "#520b26",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 337.183,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.10331,
    "h": 3.9
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#520B26
secondary
#2B8E68
accent
#F3AB35
background
#F8F4F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520B26

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

Preview Lab → · Contrast checker → · Palette generator →

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