#521241#521241

#521241 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.109 H 340.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#521241
RGBrgb(82, 18, 65)
HSLhsl(316, 64%, 20%)
HSVhsv(316, 78%, 32%)
CMYKcmyk(0%, 78%, 20.7%, 67.8%)
CIE-LABlab(18.40, 34.58, -13.52)
CIE-LCHlch(18.40, 37.13, 338.65°)
OKLaboklab(31.11% 0.1032 -0.0364)
OKLCHoklch(31.11% 0.109 340.6)
XYZxyz(4.6502, 2.6086, 5.2586)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521241 #125223
analogous
#431252 #521241 #521221
triadic
#521241 #415212 #124152
tetradic
#521241 #524312 #125223 #122152
square
#521241 #524312 #125223 #122152
split-complementary
#521241 #215212 #125243
monochromatic
#190614 #200719 #521241 #841D69 #B62891

Accessibility & contrast

On white

13.80
#521241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521241
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521241#FFFFFF#000000##FFFFFF
##5212411.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172642
Deuteranopia (green-blind)
#2B313F
Tritanopia (blue-blind)
#571427
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521241;
/* rgb */ color: rgb(82, 18, 65);
/* oklch */ color: oklch(31.1% 0.109 340.6);
Tailwind
colors: {
  custom: {
    50: '#855775',
    500: '#521241',
    950: '#000000',
  },
}
SCSS
$custom: #521241;
$custom-light: #855775;
$custom-dark: #000000;
JSON
{
  "hex": "#521241",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 315.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31105,
    "c": 0.10948,
    "h": 340.6
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#521241
secondary
#358B4C
accent
#E76D41
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #521241

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

Preview Lab → · Contrast checker → · Palette generator →

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