#521038#521038

#521038 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.106 H 348.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#521038
RGBrgb(82, 16, 56)
HSLhsl(324, 67%, 19%)
HSVhsv(324, 80%, 32%)
CMYKcmyk(0%, 80.5%, 31.7%, 67.8%)
CIE-LABlab(17.69, 34.02, -8.30)
CIE-LCHlch(17.69, 35.02, 346.29°)
OKLaboklab(30.45% 0.1036 -0.0218)
OKLCHoklch(30.45% 0.106 348.1)
XYZxyz(4.3790, 2.4504, 3.9830)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521038 #10522A
analogous
#4B1052 #521038 #521017
triadic
#521038 #385210 #103852
tetradic
#521038 #524B10 #10522A #101752
square
#521038 #524B10 #10522A #101752
split-complementary
#521038 #175210 #10524B
monochromatic
#1A0511 #1F0615 #521038 #851A5B #B8247E

Accessibility & contrast

On white

14.09
#521038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521038
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521038#FFFFFF#000000##FFFFFF
##5210381.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#2D3036
Tritanopia (blue-blind)
#580D22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521038;
/* rgb */ color: rgb(82, 16, 56);
/* oklch */ color: oklch(30.4% 0.106 348.1);
Tailwind
colors: {
  custom: {
    50: '#86566e',
    500: '#521038',
    950: '#000000',
  },
}
SCSS
$custom: #521038;
$custom-light: #86566e;
$custom-dark: #000000;
JSON
{
  "hex": "#521038",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 323.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30447,
    "c": 0.10591,
    "h": 348.1
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#521038
secondary
#328C55
accent
#EA823E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521038

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

Preview Lab → · Contrast checker → · Palette generator →

#521038 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva