#521945#521945

#521945 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.102 H 337.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#521945
RGBrgb(82, 25, 69)
HSLhsl(314, 53%, 21%)
HSVhsv(314, 70%, 32%)
CMYKcmyk(0%, 69.5%, 15.9%, 67.8%)
CIE-LABlab(19.72, 32.16, -14.25)
CIE-LCHlch(19.72, 35.17, 336.10°)
OKLaboklab(32.13% 0.0947 -0.0386)
OKLCHoklch(32.13% 0.102 337.8)
XYZxyz(4.9016, 2.9192, 5.9344)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521945 #195226
analogous
#421952 #521945 #521928
triadic
#521945 #455219 #194552
tetradic
#521945 #524219 #195226 #192852
square
#521945 #524219 #195226 #192852
split-complementary
#521945 #285219 #195242
monochromatic
#170714 #230B1E #521945 #81276C #B03694

Accessibility & contrast

On white

13.26
#521945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521945
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521945#FFFFFF#000000##FFFFFF
##5219451.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#2D3344
Tritanopia (blue-blind)
#571B2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521945;
/* rgb */ color: rgb(82, 25, 69);
/* oklch */ color: oklch(32.1% 0.102 337.8);
Tailwind
colors: {
  custom: {
    50: '#855a78',
    500: '#521945',
    950: '#000000',
  },
}
SCSS
$custom: #521945;
$custom-light: #855a78;
$custom-dark: #000000;
JSON
{
  "hex": "#521945",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 313.684,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.10223,
    "h": 337.8
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#521945
secondary
#3E884F
accent
#DD6C4B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521945

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

Preview Lab → · Contrast checker → · Palette generator →

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