#531127#531127

#531127 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.098 H 5.3°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#531127
RGBrgb(83, 17, 39)
HSLhsl(340, 66%, 20%)
HSVhsv(340, 80%, 33%)
CMYKcmyk(0%, 79.5%, 53%, 67.5%)
CIE-LABlab(17.40, 31.88, 3.43)
CIE-LCHlch(17.40, 32.06, 6.13°)
OKLaboklab(30.06% 0.0974 0.0091)
OKLCHoklch(30.06% 0.098 5.3)
XYZxyz(4.1343, 2.3869, 2.1621)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531127 #11533D
analogous
#531148 #531127 #531C11
triadic
#531127 #275311 #112753
tetradic
#531127 #485311 #11533D #1C1153
square
#531127 #485311 #11533D #1C1153
split-complementary
#531127 #11531C #114853
monochromatic
#19050C #20070F #531127 #861B3F #B92657

Accessibility & contrast

On white

14.22
#531127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#531127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531127
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531127#FFFFFF#000000##FFFFFF
##5311271.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212227
Deuteranopia (green-blind)
#322F25
Tritanopia (blue-blind)
#5B051A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #531127;
/* rgb */ color: rgb(83, 17, 39);
/* oklch */ color: oklch(30.1% 0.098 5.3);
Tailwind
colors: {
  custom: {
    50: '#875560',
    500: '#531127',
    950: '#000000',
  },
}
SCSS
$custom: #531127;
$custom-light: #875560;
$custom-dark: #000000;
JSON
{
  "hex": "#531127",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 340,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.09782,
    "h": 5.3
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#531127
secondary
#348C6F
accent
#E9B03F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #531127

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

Preview Lab → · Contrast checker → · Palette generator →

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