#520B23#520B23

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

Color values

HEX#520B23
RGBrgb(82, 11, 35)
HSLhsl(340, 76%, 18%)
HSVhsv(340, 87%, 32%)
CMYKcmyk(0%, 86.6%, 57.3%, 67.8%)
CIE-LABlab(16.28, 33.36, 4.71)
CIE-LCHlch(16.28, 33.69, 8.03°)
OKLaboklab(29.16% 0.1018 0.0122)
OKLCHoklch(29.16% 0.103 6.8)
XYZxyz(3.9031, 2.1551, 1.8002)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B23 #0B523A
analogous
#520B46 #520B23 #52160B
triadic
#520B23 #23520B #0B2352
tetradic
#520B23 #46520B #0B523A #160B52
square
#520B23 #46520B #0B523A #160B52
split-complementary
#520B23 #0B5216 #0B4652
monochromatic
#1B040C #1C040C #520B23 #88123A #BE1951

Accessibility & contrast

On white

14.68
#520B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520B23
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B23#FFFFFF#000000##FFFFFF
##520B231.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F23
Deuteranopia (green-blind)
#302D21
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520b23;
/* rgb */ color: rgb(82, 11, 35);
/* oklch */ color: oklch(29.2% 0.103 6.8);
Tailwind
colors: {
  custom: {
    50: '#87535d',
    500: '#520b23',
    950: '#000000',
  },
}
SCSS
$custom: #520b23;
$custom-light: #87535d;
$custom-dark: #000000;
JSON
{
  "hex": "#520b23",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 35
  },
  "hsl": {
    "h": 339.718,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29157,
    "c": 0.10252,
    "h": 6.8
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#520B23
secondary
#2B8E6C
accent
#F3B335
background
#F8F4F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520B23

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

Preview Lab → · Contrast checker → · Palette generator →

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