#531228#531228

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

Color values

HEX#531228
RGBrgb(83, 18, 40)
HSLhsl(340, 64%, 20%)
HSVhsv(340, 78%, 33%)
CMYKcmyk(0%, 78.3%, 51.8%, 67.5%)
CIE-LABlab(17.58, 31.57, 2.96)
CIE-LCHlch(17.58, 31.71, 5.36°)
OKLaboklab(30.2% 0.0965 0.0079)
OKLCHoklch(30.2% 0.097 4.7)
XYZxyz(4.1669, 2.4254, 2.2558)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531228 #12533D
analogous
#531249 #531228 #531C12
triadic
#531228 #285312 #122853
tetradic
#531228 #495312 #12533D #1C1253
square
#531228 #495312 #12533D #1C1253
split-complementary
#531228 #12531C #124953
monochromatic
#19050C #210710 #531228 #851D40 #B82858

Accessibility & contrast

On white

14.14
#531228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#531228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531228
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531228#FFFFFF#000000##FFFFFF
##5312281.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212329
Deuteranopia (green-blind)
#323026
Tritanopia (blue-blind)
#5B071B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #531228;
/* rgb */ color: rgb(83, 18, 40);
/* oklch */ color: oklch(30.2% 0.097 4.7);
Tailwind
colors: {
  custom: {
    50: '#875661',
    500: '#531228',
    950: '#000000',
  },
}
SCSS
$custom: #531228;
$custom-light: #875661;
$custom-dark: #000000;
JSON
{
  "hex": "#531228",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 339.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.09683,
    "h": 4.7
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#531228
secondary
#358C6E
accent
#E7AF40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #531228

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

Preview Lab → · Contrast checker → · Palette generator →

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