#521434#521434

#521434 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.098 H 352.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#521434
RGBrgb(82, 20, 52)
HSLhsl(329, 61%, 20%)
HSVhsv(329, 76%, 32%)
CMYKcmyk(0%, 75.6%, 36.6%, 67.8%)
CIE-LABlab(18.11, 31.82, -4.84)
CIE-LCHlch(18.11, 32.19, 351.35°)
OKLaboklab(30.7% 0.0973 -0.0124)
OKLCHoklch(30.7% 0.098 352.7)
XYZxyz(4.3499, 2.5426, 3.5098)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521434 #145232
analogous
#511452 #521434 #521415
triadic
#521434 #345214 #143452
tetradic
#521434 #525114 #145232 #141552
square
#521434 #525114 #145232 #141552
split-complementary
#521434 #155214 #145251
monochromatic
#190610 #210815 #521434 #832053 #B42C72

Accessibility & contrast

On white

13.92
#521434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521434
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521434#FFFFFF#000000##FFFFFF
##5214341.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2535
Deuteranopia (green-blind)
#303033
Tritanopia (blue-blind)
#590F22
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521434;
/* rgb */ color: rgb(82, 20, 52);
/* oklch */ color: oklch(30.7% 0.098 352.7);
Tailwind
colors: {
  custom: {
    50: '#86576b',
    500: '#521434',
    950: '#000000',
  },
}
SCSS
$custom: #521434;
$custom-light: #86576b;
$custom-dark: #000000;
JSON
{
  "hex": "#521434",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 52
  },
  "hsl": {
    "h": 329.032,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.09808,
    "h": 352.7
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#521434
secondary
#388A60
accent
#E49144
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521434

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

Preview Lab → · Contrast checker → · Palette generator →

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