#531248#531248

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

Color values

HEX#531248
RGBrgb(83, 18, 72)
HSLhsl(310, 64%, 20%)
HSVhsv(310, 78%, 33%)
CMYKcmyk(0%, 78.3%, 13.3%, 67.5%)
CIE-LABlab(18.97, 36.03, -17.46)
CIE-LCHlch(18.97, 40.04, 334.15°)
OKLaboklab(31.67% 0.1054 -0.0476)
OKLCHoklch(31.67% 0.116 335.7)
XYZxyz(4.9534, 2.7399, 6.3976)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531248 #12531D
analogous
#3E1253 #531248 #531228
triadic
#531248 #485312 #124853
tetradic
#531248 #533E12 #12531D #122853
square
#531248 #533E12 #12531D #122853
split-complementary
#531248 #285312 #12533E
monochromatic
#190516 #21071C #531248 #851D74 #B8289F

Accessibility & contrast

On white

13.57
#531248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531248
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531248#FFFFFF#000000##FFFFFF
##5312481.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122849
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#58172B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #531248;
/* rgb */ color: rgb(83, 18, 72);
/* oklch */ color: oklch(31.7% 0.116 335.7);
Tailwind
colors: {
  custom: {
    50: '#86577b',
    500: '#531248',
    950: '#000000',
  },
}
SCSS
$custom: #531248;
$custom-light: #86577b;
$custom-dark: #000000;
JSON
{
  "hex": "#531248",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 310.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.11567,
    "h": 335.7
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#531248
secondary
#358C44
accent
#E75D40
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531248

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

Preview Lab → · Contrast checker → · Palette generator →

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