#521741#521741

#521741 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.102 H 341.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#521741
RGBrgb(82, 23, 65)
HSLhsl(317, 56%, 21%)
HSVhsv(317, 72%, 32%)
CMYKcmyk(0%, 72%, 20.7%, 67.8%)
CIE-LABlab(19.18, 32.42, -12.32)
CIE-LCHlch(19.18, 34.68, 339.19°)
OKLaboklab(31.67% 0.0967 -0.0331)
OKLCHoklch(31.67% 0.102 341.1)
XYZxyz(4.7403, 2.7887, 5.2886)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521741 #175228
analogous
#451752 #521741 #521723
triadic
#521741 #415217 #174152
tetradic
#521741 #524517 #175228 #172352
square
#521741 #524517 #175228 #172352
split-complementary
#521741 #235217 #175245
monochromatic
#180713 #220A1B #521741 #822467 #B2328D

Accessibility & contrast

On white

13.48
#521741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#521741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521741
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521741#FFFFFF#000000##FFFFFF
##5217411.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2842
Deuteranopia (green-blind)
#2D3240
Tritanopia (blue-blind)
#571829
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521741;
/* rgb */ color: rgb(82, 23, 65);
/* oklch */ color: oklch(31.7% 0.102 341.1);
Tailwind
colors: {
  custom: {
    50: '#855975',
    500: '#521741',
    950: '#000000',
  },
}
SCSS
$custom: #521741;
$custom-light: #855975;
$custom-dark: #000000;
JSON
{
  "hex": "#521741",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 317.288,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.1022,
    "h": 341.1
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#521741
secondary
#3C8952
accent
#DF7448
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #521741

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

Preview Lab → · Contrast checker → · Palette generator →

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