#581128#581128

#581128 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.103 H 6.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#581128
RGBrgb(88, 17, 40)
HSLhsl(341, 68%, 21%)
HSVhsv(341, 81%, 35%)
CMYKcmyk(0%, 80.7%, 54.5%, 65.5%)
CIE-LABlab(18.49, 33.64, 4.41)
CIE-LCHlch(18.49, 33.93, 7.47°)
OKLaboklab(31.07% 0.1027 0.0115)
OKLCHoklch(31.07% 0.103 6.4)
XYZxyz(4.6084, 2.6294, 2.2719)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581128 #115841
analogous
#58114B #581128 #581D11
triadic
#581128 #285811 #112858
tetradic
#581128 #4B5811 #115841 #1D1158
square
#581128 #4B5811 #115841 #1D1158
split-complementary
#581128 #11581D #114B58
monochromatic
#1A050C #250711 #581128 #8B1B3F #BF2557

Accessibility & contrast

On white

13.76
#581128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#581128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581128
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581128#FFFFFF#000000##FFFFFF
##5811281.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#61021B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581128;
/* rgb */ color: rgb(88, 17, 40);
/* oklch */ color: oklch(31.1% 0.103 6.4);
Tailwind
colors: {
  custom: {
    50: '#8c5661',
    500: '#581128',
    950: '#000000',
  },
}
SCSS
$custom: #581128;
$custom-light: #8c5661;
$custom-dark: #000000;
JSON
{
  "hex": "#581128",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 340.563,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31073,
    "c": 0.10331,
    "h": 6.4
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#581128
secondary
#349173
accent
#EAB23D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0305
muted
#7D7879

Preview Lab

Preview with #581128

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

Preview Lab → · Contrast checker → · Palette generator →

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