#520F44#520F44

#520F44 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.116 H 338.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#520F44
RGBrgb(82, 15, 68)
HSLhsl(313, 69%, 19%)
HSVhsv(313, 82%, 32%)
CMYKcmyk(0%, 81.7%, 17.1%, 67.8%)
CIE-LABlab(18.16, 36.21, -15.98)
CIE-LCHlch(18.16, 39.58, 336.19°)
OKLaboklab(30.98% 0.1072 -0.0434)
OKLCHoklch(30.98% 0.116 338)
XYZxyz(4.6940, 2.5533, 5.7133)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F44 #0F521D
analogous
#3F0F52 #520F44 #520F23
triadic
#520F44 #44520F #0F4452
tetradic
#520F44 #523F0F #0F521D #0F2352
square
#520F44 #523F0F #0F521D #0F2352
split-complementary
#520F44 #23520F #0F523F
monochromatic
#1A0515 #1E0619 #520F44 #86186F #B9229A

Accessibility & contrast

On white

13.90
#520F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#520F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F44
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F44#FFFFFF#000000##FFFFFF
##520F441.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122645
Deuteranopia (green-blind)
#293042
Tritanopia (blue-blind)
#571328
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f44;
/* rgb */ color: rgb(82, 15, 68);
/* oklch */ color: oklch(31.0% 0.116 338.0);
Tailwind
colors: {
  custom: {
    50: '#855678',
    500: '#520f44',
    950: '#000000',
  },
}
SCSS
$custom: #520f44;
$custom-light: #855678;
$custom-dark: #000000;
JSON
{
  "hex": "#520f44",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 312.537,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.11561,
    "h": 338
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#520F44
secondary
#318C44
accent
#EC613C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #520F44

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

Preview Lab → · Contrast checker → · Palette generator →

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