#531342#531342

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

Color values

HEX#531342
RGBrgb(83, 19, 66)
HSLhsl(316, 63%, 20%)
HSVhsv(316, 77%, 33%)
CMYKcmyk(0%, 77.1%, 20.5%, 67.5%)
CIE-LABlab(18.79, 34.63, -13.59)
CIE-LCHlch(18.79, 37.20, 338.57°)
OKLaboklab(31.44% 0.1033 -0.0366)
OKLCHoklch(31.44% 0.11 340.5)
XYZxyz(4.7837, 2.6986, 5.4221)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531342 #135324
analogous
#441353 #531342 #531322
triadic
#531342 #425313 #134253
tetradic
#531342 #534413 #135324 #132253
square
#531342 #534413 #135324 #132253
split-complementary
#531342 #225313 #135344
monochromatic
#190614 #21081A #531342 #851E6A #B72A91

Accessibility & contrast

On white

13.64
#531342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531342
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531342#FFFFFF#000000##FFFFFF
##5313421.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182743
Deuteranopia (green-blind)
#2C3140
Tritanopia (blue-blind)
#581528
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531342;
/* rgb */ color: rgb(83, 19, 66);
/* oklch */ color: oklch(31.4% 0.110 340.5);
Tailwind
colors: {
  custom: {
    50: '#865776',
    500: '#531342',
    950: '#000000',
  },
}
SCSS
$custom: #531342;
$custom-light: #865776;
$custom-dark: #000000;
JSON
{
  "hex": "#531342",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 315.938,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.31443,
    "c": 0.10962,
    "h": 340.5
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#531342
secondary
#368B4D
accent
#E66E42
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #531342

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

Preview Lab → · Contrast checker → · Palette generator →

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