#531246#531246

#531246 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.114 H 337.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#531246
RGBrgb(83, 18, 70)
HSLhsl(312, 64%, 20%)
HSVhsv(312, 78%, 33%)
CMYKcmyk(0%, 78.3%, 15.7%, 67.5%)
CIE-LABlab(18.86, 35.69, -16.25)
CIE-LCHlch(18.86, 39.22, 335.52°)
OKLaboklab(31.56% 0.1052 -0.0442)
OKLCHoklch(31.56% 0.114 337.2)
XYZxyz(4.8892, 2.7143, 6.0596)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531246 #12531F
analogous
#401253 #531246 #531226
triadic
#531246 #465312 #124653
tetradic
#531246 #534012 #12531F #122653
square
#531246 #534012 #12531F #122653
split-complementary
#531246 #265312 #125340
monochromatic
#190515 #21071C #531246 #851D70 #B8289B

Accessibility & contrast

On white

13.61
#531246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531246
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531246#FFFFFF#000000##FFFFFF
##5312461.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142747
Deuteranopia (green-blind)
#2A3144
Tritanopia (blue-blind)
#58162A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531246;
/* rgb */ color: rgb(83, 18, 70);
/* oklch */ color: oklch(31.6% 0.114 337.2);
Tailwind
colors: {
  custom: {
    50: '#865779',
    500: '#531246',
    950: '#000000',
  },
}
SCSS
$custom: #531246;
$custom-light: #865779;
$custom-dark: #000000;
JSON
{
  "hex": "#531246",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 312,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3156,
    "c": 0.11406,
    "h": 337.2
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#531246
secondary
#358C46
accent
#E76240
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531246

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

Preview Lab → · Contrast checker → · Palette generator →

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