#531247#531247

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

Color values

HEX#531247
RGBrgb(83, 18, 71)
HSLhsl(311, 64%, 20%)
HSVhsv(311, 78%, 33%)
CMYKcmyk(0%, 78.3%, 14.5%, 67.5%)
CIE-LABlab(18.92, 35.86, -16.86)
CIE-LCHlch(18.92, 39.62, 334.82°)
OKLaboklab(31.62% 0.1053 -0.0459)
OKLCHoklch(31.62% 0.115 336.4)
XYZxyz(4.9210, 2.7270, 6.2272)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531247 #12531E
analogous
#3F1253 #531247 #531227
triadic
#531247 #475312 #124753
tetradic
#531247 #533F12 #12531E #122753
square
#531247 #533F12 #12531E #122753
split-complementary
#531247 #275312 #12533F
monochromatic
#190516 #21071C #531247 #851D72 #B8289D

Accessibility & contrast

On white

13.59
#531247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#531247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531247
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531247#FFFFFF#000000##FFFFFF
##5312471.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#58162B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531247;
/* rgb */ color: rgb(83, 18, 71);
/* oklch */ color: oklch(31.6% 0.115 336.4);
Tailwind
colors: {
  custom: {
    50: '#86577a',
    500: '#531247',
    950: '#000000',
  },
}
SCSS
$custom: #531247;
$custom-light: #86577a;
$custom-dark: #000000;
JSON
{
  "hex": "#531247",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 311.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31617,
    "c": 0.11486,
    "h": 336.4
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#531247
secondary
#358C45
accent
#E75F40
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531247

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

Preview Lab → · Contrast checker → · Palette generator →

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