#531227#531227

#531227 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.097 H 5.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#531227
RGBrgb(83, 18, 39)
HSLhsl(341, 64%, 20%)
HSVhsv(341, 78%, 33%)
CMYKcmyk(0%, 78.3%, 53%, 67.5%)
CIE-LABlab(17.55, 31.47, 3.64)
CIE-LCHlch(17.55, 31.68, 6.59°)
OKLaboklab(30.17% 0.0961 0.0096)
OKLCHoklch(30.17% 0.097 5.7)
XYZxyz(4.1501, 2.4186, 2.1674)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531227 #12533E
analogous
#531248 #531227 #531D12
triadic
#531227 #275312 #122753
tetradic
#531227 #485312 #12533E #1D1253
square
#531227 #485312 #12533E #1D1253
split-complementary
#531227 #12531D #124853
monochromatic
#19050C #21070F #531227 #851D3F #B82856

Accessibility & contrast

On white

14.15
#531227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531227
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531227#FFFFFF#000000##FFFFFF
##5312271.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212327
Deuteranopia (green-blind)
#323025
Tritanopia (blue-blind)
#5B061B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #531227;
/* rgb */ color: rgb(83, 18, 39);
/* oklch */ color: oklch(30.2% 0.097 5.7);
Tailwind
colors: {
  custom: {
    50: '#875660',
    500: '#531227',
    950: '#000000',
  },
}
SCSS
$custom: #531227;
$custom-light: #875660;
$custom-dark: #000000;
JSON
{
  "hex": "#531227",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 340.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30169,
    "c": 0.09656,
    "h": 5.7
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#531227
secondary
#358C70
accent
#E7B140
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #531227

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

Preview Lab → · Contrast checker → · Palette generator →

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