#521247#521247

#521247 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.114 H 335.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#521247
RGBrgb(82, 18, 71)
HSLhsl(310, 64%, 20%)
HSVhsv(310, 78%, 32%)
CMYKcmyk(0%, 78%, 13.4%, 67.8%)
CIE-LABlab(18.72, 35.58, -17.17)
CIE-LCHlch(18.72, 39.51, 334.23°)
OKLaboklab(31.44% 0.1041 -0.0468)
OKLCHoklch(31.44% 0.114 335.8)
XYZxyz(4.8334, 2.6818, 6.2231)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521247 #12521D
analogous
#3D1252 #521247 #521227
triadic
#521247 #475212 #124752
tetradic
#521247 #523D12 #12521D #122752
square
#521247 #523D12 #12521D #122752
split-complementary
#521247 #275212 #12523D
monochromatic
#190616 #20071C #521247 #841D72 #B6289E

Accessibility & contrast

On white

13.67
#521247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521247
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521247#FFFFFF#000000##FFFFFF
##5212471.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132748
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#57172B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521247;
/* rgb */ color: rgb(82, 18, 71);
/* oklch */ color: oklch(31.4% 0.114 335.8);
Tailwind
colors: {
  custom: {
    50: '#85577a',
    500: '#521247',
    950: '#000000',
  },
}
SCSS
$custom: #521247;
$custom-light: #85577a;
$custom-dark: #000000;
JSON
{
  "hex": "#521247",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 310.313,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.11418,
    "h": 335.8
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#521247
secondary
#358B44
accent
#E75D41
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521247

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

Preview Lab → · Contrast checker → · Palette generator →

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