#581A40#581A40

#581A40 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 346.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#581A40
RGBrgb(88, 26, 64)
HSLhsl(323, 54%, 22%)
HSVhsv(323, 70%, 35%)
CMYKcmyk(0%, 70.5%, 27.3%, 65.5%)
CIE-LABlab(20.77, 32.78, -9.10)
CIE-LCHlch(20.77, 34.02, 344.49°)
OKLaboklab(33.04% 0.0991 -0.024)
OKLCHoklch(33.04% 0.102 346.4)
XYZxyz(5.3195, 3.1842, 5.1840)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A40 #1A5832
analogous
#511A58 #581A40 #581A21
triadic
#581A40 #40581A #1A4058
tetradic
#581A40 #58511A #1A5832 #1A2158
square
#581A40 #58511A #1A5832 #1A2158
split-complementary
#581A40 #21581A #1A5851
monochromatic
#180711 #290C1E #581A40 #872862 #B63685

Accessibility & contrast

On white

12.83
#581A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#581A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A40
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A40#FFFFFF#000000##FFFFFF
##581A401.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#5E192A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581a40;
/* rgb */ color: rgb(88, 26, 64);
/* oklch */ color: oklch(33.0% 0.102 346.4);
Tailwind
colors: {
  custom: {
    50: '#8a5b74',
    500: '#581a40',
    950: '#000000',
  },
}
SCSS
$custom: #581a40;
$custom-light: #8a5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#581a40",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 323.226,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33038,
    "c": 0.10193,
    "h": 346.4
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#581A40
secondary
#408E5E
accent
#DE834A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581A40

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

Preview Lab → · Contrast checker → · Palette generator →

#581A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva