#521129#521129

#521129 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 2.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#521129
RGBrgb(82, 17, 41)
HSLhsl(338, 66%, 19%)
HSVhsv(338, 79%, 32%)
CMYKcmyk(0%, 79.3%, 50%, 67.8%)
CIE-LABlab(17.25, 31.75, 1.75)
CIE-LCHlch(17.25, 31.80, 3.15°)
OKLaboklab(29.93% 0.0972 0.0048)
OKLCHoklch(29.93% 0.097 2.8)
XYZxyz(4.0807, 2.3554, 2.3371)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521129 #11523A
analogous
#52114A #521129 #521911
triadic
#521129 #295211 #112952
tetradic
#521129 #4A5211 #11523A #191152
square
#521129 #4A5211 #11523A #191152
split-complementary
#521129 #115219 #114A52
monochromatic
#19050D #1F0610 #521129 #851C42 #B7265C

Accessibility & contrast

On white

14.28
#521129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521129
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521129#FFFFFF#000000##FFFFFF
##5211291.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20222A
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#5A061B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521129;
/* rgb */ color: rgb(82, 17, 41);
/* oklch */ color: oklch(29.9% 0.097 2.8);
Tailwind
colors: {
  custom: {
    50: '#865562',
    500: '#521129',
    950: '#000000',
  },
}
SCSS
$custom: #521129;
$custom-light: #865562;
$custom-dark: #000000;
JSON
{
  "hex": "#521129",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 337.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.09736,
    "h": 2.8
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#521129
secondary
#348B6B
accent
#E9AA3F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521129

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

Preview Lab → · Contrast checker → · Palette generator →

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