#531242#531242

#531242 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.111 H 340.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#531242
RGBrgb(83, 18, 66)
HSLhsl(316, 64%, 20%)
HSVhsv(316, 78%, 33%)
CMYKcmyk(0%, 78.3%, 20.5%, 67.5%)
CIE-LABlab(18.65, 35.04, -13.81)
CIE-LCHlch(18.65, 37.66, 338.48°)
OKLaboklab(31.34% 0.1045 -0.0372)
OKLCHoklch(31.34% 0.111 340.4)
XYZxyz(4.7671, 2.6654, 5.4166)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531242 #125323
analogous
#431253 #531242 #531222
triadic
#531242 #425312 #124253
tetradic
#531242 #534312 #125323 #122253
square
#531242 #534312 #125323 #122253
split-complementary
#531242 #225312 #125343
monochromatic
#190514 #21071A #531242 #851D6A #B82892

Accessibility & contrast

On white

13.70
#531242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531242
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531242#FFFFFF#000000##FFFFFF
##5312421.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#2B3140
Tritanopia (blue-blind)
#581428
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #531242;
/* rgb */ color: rgb(83, 18, 66);
/* oklch */ color: oklch(31.3% 0.111 340.4);
Tailwind
colors: {
  custom: {
    50: '#865776',
    500: '#531242',
    950: '#000000',
  },
}
SCSS
$custom: #531242;
$custom-light: #865776;
$custom-dark: #000000;
JSON
{
  "hex": "#531242",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 315.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31339,
    "c": 0.11097,
    "h": 340.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#531242
secondary
#358C4C
accent
#E76C40
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #531242

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

Preview Lab → · Contrast checker → · Palette generator →

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