#531238#531238

#531238 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.104 H 349.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#531238
RGBrgb(83, 18, 56)
HSLhsl(325, 64%, 20%)
HSVhsv(325, 78%, 33%)
CMYKcmyk(0%, 78.3%, 32.5%, 67.5%)
CIE-LABlab(18.18, 33.53, -7.55)
CIE-LCHlch(18.18, 34.37, 347.32°)
OKLaboklab(30.84% 0.1022 -0.0198)
OKLCHoklch(30.84% 0.104 349.1)
XYZxyz(4.4976, 2.5576, 3.9974)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531238 #12532D
analogous
#4E1253 #531238 #531218
triadic
#531238 #385312 #123853
tetradic
#531238 #534E12 #12532D #121853
square
#531238 #534E12 #12532D #121853
split-complementary
#531238 #185312 #12534E
monochromatic
#190511 #210716 #531238 #851D5A #B8287C

Accessibility & contrast

On white

13.89
#531238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#531238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531238
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531238#FFFFFF#000000##FFFFFF
##5312381.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#5A0F23
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #531238;
/* rgb */ color: rgb(83, 18, 56);
/* oklch */ color: oklch(30.8% 0.104 349.1);
Tailwind
colors: {
  custom: {
    50: '#86576e',
    500: '#531238',
    950: '#000000',
  },
}
SCSS
$custom: #531238;
$custom-light: #86576e;
$custom-dark: #000000;
JSON
{
  "hex": "#531238",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 324.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30839,
    "c": 0.10411,
    "h": 349.1
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#531238
secondary
#358C59
accent
#E78640
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #531238

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

Preview Lab → · Contrast checker → · Palette generator →

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