#521245#521245

#521245 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.113 H 337.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#521245
RGBrgb(82, 18, 69)
HSLhsl(312, 64%, 20%)
HSVhsv(312, 78%, 32%)
CMYKcmyk(0%, 78%, 15.9%, 67.8%)
CIE-LABlab(18.61, 35.24, -15.97)
CIE-LCHlch(18.61, 38.69, 335.63°)
OKLaboklab(31.32% 0.1039 -0.0434)
OKLCHoklch(31.32% 0.113 337.3)
XYZxyz(4.7702, 2.6566, 5.8906)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521245 #12521F
analogous
#3F1252 #521245 #521225
triadic
#521245 #455212 #124552
tetradic
#521245 #523F12 #12521F #122552
square
#521245 #523F12 #12521F #122552
split-complementary
#521245 #255212 #12523F
monochromatic
#190615 #20071B #521245 #841D6F #B62899

Accessibility & contrast

On white

13.71
#521245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521245
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521245#FFFFFF#000000##FFFFFF
##5212451.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142746
Deuteranopia (green-blind)
#293143
Tritanopia (blue-blind)
#57162A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521245;
/* rgb */ color: rgb(82, 18, 69);
/* oklch */ color: oklch(31.3% 0.113 337.3);
Tailwind
colors: {
  custom: {
    50: '#855779',
    500: '#521245',
    950: '#000000',
  },
}
SCSS
$custom: #521245;
$custom-light: #855779;
$custom-dark: #000000;
JSON
{
  "hex": "#521245",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 312.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31325,
    "c": 0.11258,
    "h": 337.3
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#521245
secondary
#358B46
accent
#E76341
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521245

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

Preview Lab → · Contrast checker → · Palette generator →

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