#581C45#581C45

#581C45 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.102 H 342.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#581C45
RGBrgb(88, 28, 69)
HSLhsl(319, 52%, 23%)
HSVhsv(319, 68%, 35%)
CMYKcmyk(0%, 68.2%, 21.6%, 65.5%)
CIE-LABlab(21.34, 32.61, -11.65)
CIE-LCHlch(21.34, 34.63, 340.34°)
OKLaboklab(33.53% 0.0974 -0.0312)
OKLCHoklch(33.53% 0.102 342.3)
XYZxyz(5.5141, 3.3354, 5.9825)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C45 #1C582F
analogous
#4D1C58 #581C45 #581C27
triadic
#581C45 #45581C #1C4558
tetradic
#581C45 #584D1C #1C582F #1C2758
square
#581C45 #584D1C #1C582F #1C2758
split-complementary
#581C45 #27581C #1C584D
monochromatic
#170712 #2A0D21 #581C45 #862B69 #B53A8E

Accessibility & contrast

On white

12.60
#581C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#581C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C45
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C45#FFFFFF#000000##FFFFFF
##581C451.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#323744
Tritanopia (blue-blind)
#5E1C2D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581c45;
/* rgb */ color: rgb(88, 28, 69);
/* oklch */ color: oklch(33.5% 0.102 342.3);
Tailwind
colors: {
  custom: {
    50: '#895d78',
    500: '#581c45',
    950: '#000000',
  },
}
SCSS
$custom: #581c45;
$custom-light: #895d78;
$custom-dark: #000000;
JSON
{
  "hex": "#581c45",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 319,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33532,
    "c": 0.10231,
    "h": 342.3
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#581C45
secondary
#428E5A
accent
#DB7A4D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581C45

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

Preview Lab → · Contrast checker → · Palette generator →

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