#521937#521937

#521937 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.092 H 351.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#521937
RGBrgb(82, 25, 55)
HSLhsl(328, 53%, 21%)
HSVhsv(328, 70%, 32%)
CMYKcmyk(0%, 69.5%, 32.9%, 67.8%)
CIE-LABlab(19.08, 29.91, -5.50)
CIE-LCHlch(19.08, 30.41, 349.58°)
OKLaboklab(31.45% 0.091 -0.0143)
OKLCHoklch(31.45% 0.092 351.1)
XYZxyz(4.5171, 2.7654, 3.9096)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521937 #195234
analogous
#501952 #521937 #52191A
triadic
#521937 #375219 #193752
tetradic
#521937 #525019 #195234 #191A52
square
#521937 #525019 #195234 #191A52
split-complementary
#521937 #1A5219 #195250
monochromatic
#170710 #230B18 #521937 #812756 #B03676

Accessibility & contrast

On white

13.52
#521937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521937
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521937#FFFFFF#000000##FFFFFF
##5219371.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#313236
Tritanopia (blue-blind)
#581625
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521937;
/* rgb */ color: rgb(82, 25, 55);
/* oklch */ color: oklch(31.5% 0.092 351.1);
Tailwind
colors: {
  custom: {
    50: '#855a6d',
    500: '#521937',
    950: '#000000',
  },
}
SCSS
$custom: #521937;
$custom-light: #855a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#521937",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 328.421,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31451,
    "c": 0.0921,
    "h": 351.1
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#521937
secondary
#3E8861
accent
#DD904B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #521937

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

Preview Lab → · Contrast checker → · Palette generator →

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