#581B45#581B45

#581B45 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.104 H 342.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#581B45
RGBrgb(88, 27, 69)
HSLhsl(319, 53%, 23%)
HSVhsv(319, 69%, 35%)
CMYKcmyk(0%, 69.3%, 21.6%, 65.5%)
CIE-LABlab(21.17, 33.09, -11.92)
CIE-LCHlch(21.17, 35.17, 340.19°)
OKLaboklab(33.4% 0.0989 -0.0319)
OKLCHoklch(33.4% 0.104 342.1)
XYZxyz(5.4908, 3.2888, 5.9747)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B45 #1B582E
analogous
#4D1B58 #581B45 #581B26
triadic
#581B45 #45581B #1B4558
tetradic
#581B45 #584D1B #1B582E #1B2658
square
#581B45 #584D1B #1B582E #1B2658
split-complementary
#581B45 #26581B #1B584D
monochromatic
#170712 #290D20 #581B45 #87296A #B6388E

Accessibility & contrast

On white

12.67
#581B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#581B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B45
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B45#FFFFFF#000000##FFFFFF
##581B451.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C46
Deuteranopia (green-blind)
#323644
Tritanopia (blue-blind)
#5E1C2D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581b45;
/* rgb */ color: rgb(88, 27, 69);
/* oklch */ color: oklch(33.4% 0.104 342.1);
Tailwind
colors: {
  custom: {
    50: '#8a5c78',
    500: '#581b45',
    950: '#000000',
  },
}
SCSS
$custom: #581b45;
$custom-light: #8a5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#581b45",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 318.689,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.10392,
    "h": 342.1
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#581B45
secondary
#418E59
accent
#DC794B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581B45

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

Preview Lab → · Contrast checker → · Palette generator →

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