#520F43#520F43

#520F43 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.9% C 0.115 H 338.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#520F43
RGBrgb(82, 15, 67)
HSLhsl(313, 69%, 19%)
HSVhsv(313, 82%, 32%)
CMYKcmyk(0%, 81.7%, 18.3%, 67.8%)
CIE-LABlab(18.10, 36.05, -15.37)
CIE-LCHlch(18.10, 39.19, 336.90°)
OKLaboklab(30.92% 0.107 -0.0417)
OKLCHoklch(30.92% 0.115 338.7)
XYZxyz(4.6637, 2.5412, 5.5540)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F43 #0F521E
analogous
#400F52 #520F43 #520F22
triadic
#520F43 #43520F #0F4352
tetradic
#520F43 #52400F #0F521E #0F2252
square
#520F43 #52400F #0F521E #0F2252
split-complementary
#520F43 #22520F #0F5240
monochromatic
#1A0515 #1E0619 #520F43 #86186D #B92298

Accessibility & contrast

On white

13.92
#520F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F43
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F43#FFFFFF#000000##FFFFFF
##520F431.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132644
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#571228
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f43;
/* rgb */ color: rgb(82, 15, 67);
/* oklch */ color: oklch(30.9% 0.115 338.7);
Tailwind
colors: {
  custom: {
    50: '#855677',
    500: '#520f43',
    950: '#000000',
  },
}
SCSS
$custom: #520f43;
$custom-light: #855677;
$custom-dark: #000000;
JSON
{
  "hex": "#520f43",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 313.433,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30923,
    "c": 0.11484,
    "h": 338.7
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#520F43
secondary
#318C45
accent
#EC633C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520F43

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

Preview Lab → · Contrast checker → · Palette generator →

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