#531040#531040

#531040 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.112 H 341.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#531040
RGBrgb(83, 16, 64)
HSLhsl(317, 68%, 19%)
HSVhsv(317, 81%, 33%)
CMYKcmyk(0%, 80.7%, 22.9%, 67.5%)
CIE-LABlab(18.28, 35.49, -13.00)
CIE-LCHlch(18.28, 37.80, 339.88°)
OKLaboklab(31.04% 0.1065 -0.0349)
OKLCHoklch(31.04% 0.112 341.8)
XYZxyz(4.6781, 2.5802, 5.1012)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531040 #105323
analogous
#451053 #531040 #53101F
triadic
#531040 #405310 #104053
tetradic
#531040 #534510 #105323 #101F53
square
#531040 #534510 #105323 #101F53
split-complementary
#531040 #1F5310 #105345
monochromatic
#1A0514 #200618 #531040 #861A68 #BA248F

Accessibility & contrast

On white

13.85
#531040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#531040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531040
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531040#FFFFFF#000000##FFFFFF
##5310401.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#2B313E
Tritanopia (blue-blind)
#591126
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #531040;
/* rgb */ color: rgb(83, 16, 64);
/* oklch */ color: oklch(31.0% 0.112 341.8);
Tailwind
colors: {
  custom: {
    50: '#865675',
    500: '#531040',
    950: '#000000',
  },
}
SCSS
$custom: #531040;
$custom-light: #865675;
$custom-dark: #000000;
JSON
{
  "hex": "#531040",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 317.015,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31035,
    "c": 0.11209,
    "h": 341.8
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#531040
secondary
#328D4C
accent
#EB6E3D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #531040

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

Preview Lab → · Contrast checker → · Palette generator →

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