#521135#521135

#521135 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.103 H 351.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#521135
RGBrgb(82, 17, 53)
HSLhsl(327, 66%, 19%)
HSVhsv(327, 79%, 32%)
CMYKcmyk(0%, 79.3%, 35.4%, 67.8%)
CIE-LABlab(17.70, 33.21, -6.16)
CIE-LCHlch(17.70, 33.78, 349.49°)
OKLaboklab(30.41% 0.1016 -0.016)
OKLCHoklch(30.41% 0.103 351.1)
XYZxyz(4.3230, 2.4523, 3.6132)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521135 #11522E
analogous
#4F1152 #521135 #521115
triadic
#521135 #355211 #113552
tetradic
#521135 #524F11 #11522E #111552
square
#521135 #524F11 #11522E #111552
split-complementary
#521135 #155211 #11524F
monochromatic
#190510 #1F0614 #521135 #851C56 #B72677

Accessibility & contrast

On white

14.09
#521135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521135
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521135#FFFFFF#000000##FFFFFF
##5211351.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2436
Deuteranopia (green-blind)
#2E3034
Tritanopia (blue-blind)
#590D21
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521135;
/* rgb */ color: rgb(82, 17, 53);
/* oklch */ color: oklch(30.4% 0.103 351.1);
Tailwind
colors: {
  custom: {
    50: '#86566c',
    500: '#521135',
    950: '#000000',
  },
}
SCSS
$custom: #521135;
$custom-light: #86566c;
$custom-dark: #000000;
JSON
{
  "hex": "#521135",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 326.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.1028,
    "h": 351.1
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#521135
secondary
#348B5B
accent
#E98B3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521135

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

Preview Lab → · Contrast checker → · Palette generator →

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