#581F40#581F40

#581F40 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.094 H 347.5°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#581F40
RGBrgb(88, 31, 64)
HSLhsl(325, 48%, 23%)
HSVhsv(325, 65%, 35%)
CMYKcmyk(0%, 64.8%, 27.3%, 65.5%)
CIE-LABlab(21.67, 30.31, -7.72)
CIE-LCHlch(21.67, 31.28, 345.71°)
OKLaboklab(33.71% 0.0915 -0.0203)
OKLCHoklch(33.71% 0.094 347.5)
XYZxyz(5.4401, 3.4254, 5.2241)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F40 #1F5837
analogous
#531F58 #581F40 #581F23
triadic
#581F40 #40581F #1F4058
tetradic
#581F40 #58531F #1F5837 #1F2358
square
#581F40 #58531F #1F5837 #1F2358
split-complementary
#581F40 #23581F #1F5853
monochromatic
#170810 #2B0F1F #581F40 #852F61 #B33F82

Accessibility & contrast

On white

12.46
#581F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F40
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F40#FFFFFF#000000##FFFFFF
##581F401.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E41
Deuteranopia (green-blind)
#35383F
Tritanopia (blue-blind)
#5E1E2C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581f40;
/* rgb */ color: rgb(88, 31, 64);
/* oklch */ color: oklch(33.7% 0.094 347.5);
Tailwind
colors: {
  custom: {
    50: '#895e74',
    500: '#581f40',
    950: '#000000',
  },
}
SCSS
$custom: #581f40;
$custom-light: #895e74;
$custom-dark: #000000;
JSON
{
  "hex": "#581f40",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 325.263,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.09371,
    "h": 347.5
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#581F40
secondary
#468D64
accent
#D78950
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581F40

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

Preview Lab → · Contrast checker → · Palette generator →

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