#521243#521243

#521243 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.111 H 338.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#521243
RGBrgb(82, 18, 67)
HSLhsl(314, 64%, 20%)
HSVhsv(314, 78%, 32%)
CMYKcmyk(0%, 78%, 18.3%, 67.8%)
CIE-LABlab(18.51, 34.91, -14.75)
CIE-LCHlch(18.51, 37.90, 337.10°)
OKLaboklab(31.21% 0.1036 -0.0399)
OKLCHoklch(31.21% 0.111 338.9)
XYZxyz(4.7092, 2.6321, 5.5691)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521243 #125221
analogous
#411252 #521243 #521223
triadic
#521243 #435212 #124352
tetradic
#521243 #524112 #125221 #122352
square
#521243 #524112 #125221 #122352
split-complementary
#521243 #235212 #125241
monochromatic
#190615 #20071A #521243 #841D6C #B62895

Accessibility & contrast

On white

13.76
#521243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521243
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521243#FFFFFF#000000##FFFFFF
##5212431.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152744
Deuteranopia (green-blind)
#2A3141
Tritanopia (blue-blind)
#571528
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521243;
/* rgb */ color: rgb(82, 18, 67);
/* oklch */ color: oklch(31.2% 0.111 338.9);
Tailwind
colors: {
  custom: {
    50: '#855777',
    500: '#521243',
    950: '#000000',
  },
}
SCSS
$custom: #521243;
$custom-light: #855777;
$custom-dark: #000000;
JSON
{
  "hex": "#521243",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 314.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.11101,
    "h": 338.9
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#521243
secondary
#358B49
accent
#E76841
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521243

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

Preview Lab → · Contrast checker → · Palette generator →

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