#531148#531148

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

Color values

HEX#531148
RGBrgb(83, 17, 72)
HSLhsl(310, 66%, 20%)
HSVhsv(310, 80%, 33%)
CMYKcmyk(0%, 79.5%, 13.3%, 67.5%)
CIE-LABlab(18.84, 36.41, -17.67)
CIE-LCHlch(18.84, 40.47, 334.11°)
OKLaboklab(31.58% 0.1066 -0.0482)
OKLCHoklch(31.58% 0.117 335.7)
XYZxyz(4.9375, 2.7082, 6.3923)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531148 #11531C
analogous
#3D1153 #531148 #531127
triadic
#531148 #485311 #114853
tetradic
#531148 #533D11 #11531C #112753
square
#531148 #533D11 #11531C #112753
split-complementary
#531148 #275311 #11533D
monochromatic
#190516 #20071C #531148 #861B74 #B926A0

Accessibility & contrast

On white

13.62
#531148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531148
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531148#FFFFFF#000000##FFFFFF
##5311481.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11274A
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#58162B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531148;
/* rgb */ color: rgb(83, 17, 72);
/* oklch */ color: oklch(31.6% 0.117 335.7);
Tailwind
colors: {
  custom: {
    50: '#86577b',
    500: '#531148',
    950: '#000000',
  },
}
SCSS
$custom: #531148;
$custom-light: #86577b;
$custom-dark: #000000;
JSON
{
  "hex": "#531148",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 310,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31577,
    "c": 0.11695,
    "h": 335.7
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#531148
secondary
#348C42
accent
#E95B3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531148

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

Preview Lab → · Contrast checker → · Palette generator →

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