#531147#531147

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

Color values

HEX#531147
RGBrgb(83, 17, 71)
HSLhsl(311, 66%, 20%)
HSVhsv(311, 80%, 33%)
CMYKcmyk(0%, 79.5%, 14.5%, 67.5%)
CIE-LABlab(18.78, 36.24, -17.07)
CIE-LCHlch(18.78, 40.06, 334.78°)
OKLaboklab(31.52% 0.1064 -0.0465)
OKLCHoklch(31.52% 0.116 336.4)
XYZxyz(4.9051, 2.6953, 6.2219)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531147 #11531D
analogous
#3E1153 #531147 #531126
triadic
#531147 #475311 #114753
tetradic
#531147 #533E11 #11531D #112653
square
#531147 #533E11 #11531D #112653
split-complementary
#531147 #265311 #11533E
monochromatic
#190516 #20071C #531147 #861B72 #B9269E

Accessibility & contrast

On white

13.65
#531147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531147
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531147#FFFFFF#000000##FFFFFF
##5311471.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#58152A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531147;
/* rgb */ color: rgb(83, 17, 71);
/* oklch */ color: oklch(31.5% 0.116 336.4);
Tailwind
colors: {
  custom: {
    50: '#86577a',
    500: '#531147',
    950: '#000000',
  },
}
SCSS
$custom: #531147;
$custom-light: #86577a;
$custom-dark: #000000;
JSON
{
  "hex": "#531147",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 310.909,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.11615,
    "h": 336.4
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#531147
secondary
#348C44
accent
#E95E3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531147

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

Preview Lab → · Contrast checker → · Palette generator →

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