#531240#531240

#531240 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.109 H 342.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#531240
RGBrgb(83, 18, 64)
HSLhsl(318, 64%, 20%)
HSVhsv(318, 78%, 33%)
CMYKcmyk(0%, 78.3%, 22.9%, 67.5%)
CIE-LABlab(18.55, 34.72, -12.58)
CIE-LCHlch(18.55, 36.93, 340.08°)
OKLaboklab(31.23% 0.1042 -0.0338)
OKLCHoklch(31.23% 0.109 342)
XYZxyz(4.7092, 2.6423, 5.1115)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531240 #125325
analogous
#451253 #531240 #531220
triadic
#531240 #405312 #124053
tetradic
#531240 #534512 #125325 #122053
square
#531240 #534512 #125325 #122053
split-complementary
#531240 #205312 #125345
monochromatic
#190513 #210719 #531240 #851D67 #B8288E

Accessibility & contrast

On white

13.74
#531240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531240
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531240#FFFFFF#000000##FFFFFF
##5312401.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182641
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#591327
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #531240;
/* rgb */ color: rgb(83, 18, 64);
/* oklch */ color: oklch(31.2% 0.109 342.0);
Tailwind
colors: {
  custom: {
    50: '#865775',
    500: '#531240',
    950: '#000000',
  },
}
SCSS
$custom: #531240;
$custom-light: #865775;
$custom-dark: #000000;
JSON
{
  "hex": "#531240",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 317.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.10949,
    "h": 342
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#531240
secondary
#358C4E
accent
#E77140
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #531240

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

Preview Lab → · Contrast checker → · Palette generator →

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