#581226#581226

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

Color values

HEX#581226
RGBrgb(88, 18, 38)
HSLhsl(343, 66%, 21%)
HSVhsv(343, 80%, 35%)
CMYKcmyk(0%, 79.5%, 56.8%, 65.5%)
CIE-LABlab(18.57, 33.07, 5.95)
CIE-LCHlch(18.57, 33.60, 10.21°)
OKLaboklab(31.11% 0.1006 0.0153)
OKLCHoklch(31.11% 0.102 8.6)
XYZxyz(4.5911, 2.6479, 2.1027)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581226 #125844
analogous
#581249 #581226 #582112
triadic
#581226 #265812 #122658
tetradic
#581226 #495812 #125844 #211258
square
#581226 #495812 #125844 #211258
split-complementary
#581226 #125821 #124958
monochromatic
#19050B #250810 #581226 #8B1C3C #BE2752

Accessibility & contrast

On white

13.73
#581226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581226
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581226#FFFFFF#000000##FFFFFF
##5812261.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581226;
/* rgb */ color: rgb(88, 18, 38);
/* oklch */ color: oklch(31.1% 0.102 8.6);
Tailwind
colors: {
  custom: {
    50: '#8c5760',
    500: '#581226',
    950: '#000000',
  },
}
SCSS
$custom: #581226;
$custom-light: #8c5760;
$custom-dark: #000000;
JSON
{
  "hex": "#581226",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 342.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.10171,
    "h": 8.6
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#581226
secondary
#359176
accent
#E9B83F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #581226

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

Preview Lab → · Contrast checker → · Palette generator →

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