#581240#581240

#581240 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.113 H 345.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#581240
RGBrgb(88, 18, 64)
HSLhsl(321, 66%, 21%)
HSVhsv(321, 80%, 35%)
CMYKcmyk(0%, 79.5%, 27.3%, 65.5%)
CIE-LABlab(19.55, 36.18, -10.96)
CIE-LCHlch(19.55, 37.80, 343.15°)
OKLaboklab(32.15% 0.1095 -0.0291)
OKLCHoklch(32.15% 0.113 345.1)
XYZxyz(5.1664, 2.8780, 5.1329)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581240 #12582A
analogous
#4D1258 #581240 #58121D
triadic
#581240 #405812 #124058
tetradic
#581240 #584D12 #12582A #121D58
square
#581240 #584D12 #12582A #121D58
split-complementary
#581240 #1D5812 #12584D
monochromatic
#190512 #25081B #581240 #8B1C65 #BE278A

Accessibility & contrast

On white

13.33
#581240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#581240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581240
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581240#FFFFFF#000000##FFFFFF
##5812401.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#30343E
Tritanopia (blue-blind)
#5E1127
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581240;
/* rgb */ color: rgb(88, 18, 64);
/* oklch */ color: oklch(32.1% 0.113 345.1);
Tailwind
colors: {
  custom: {
    50: '#8a5875',
    500: '#581240',
    950: '#000000',
  },
}
SCSS
$custom: #581240;
$custom-light: #8a5875;
$custom-dark: #000000;
JSON
{
  "hex": "#581240",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 320.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.11334,
    "h": 345.1
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#581240
secondary
#359155
accent
#E9793F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581240

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

Preview Lab → · Contrast checker → · Palette generator →

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