#581126#581126

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

Color values

HEX#581126
RGBrgb(88, 17, 38)
HSLhsl(342, 68%, 21%)
HSVhsv(342, 81%, 35%)
CMYKcmyk(0%, 80.7%, 56.8%, 65.5%)
CIE-LABlab(18.44, 33.45, 5.76)
CIE-LCHlch(18.44, 33.94, 9.77°)
OKLaboklab(31.01% 0.1018 0.0148)
OKLCHoklch(31.01% 0.103 8.3)
XYZxyz(4.5752, 2.6162, 2.0974)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581126 #115843
analogous
#581149 #581126 #582011
triadic
#581126 #265811 #112658
tetradic
#581126 #495811 #115843 #201158
square
#581126 #495811 #115843 #201158
split-complementary
#581126 #115820 #114958
monochromatic
#1A050B #250710 #581126 #8B1B3C #BF2552

Accessibility & contrast

On white

13.79
#581126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#581126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581126
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581126#FFFFFF#000000##FFFFFF
##5811261.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232426
Deuteranopia (green-blind)
#363224
Tritanopia (blue-blind)
#61011A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581126;
/* rgb */ color: rgb(88, 17, 38);
/* oklch */ color: oklch(31.0% 0.103 8.3);
Tailwind
colors: {
  custom: {
    50: '#8c5660',
    500: '#581126',
    950: '#000000',
  },
}
SCSS
$custom: #581126;
$custom-light: #8c5660;
$custom-dark: #000000;
JSON
{
  "hex": "#581126",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 342.254,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.10288,
    "h": 8.3
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#581126
secondary
#349175
accent
#EAB73D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #581126

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

Preview Lab → · Contrast checker → · Palette generator →

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