#581229#581229

#581229 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.102 H 5.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#581229
RGBrgb(88, 18, 41)
HSLhsl(340, 66%, 21%)
HSVhsv(340, 80%, 35%)
CMYKcmyk(0%, 79.5%, 53.4%, 65.5%)
CIE-LABlab(18.66, 33.35, 3.94)
CIE-LCHlch(18.66, 33.58, 6.73°)
OKLaboklab(31.21% 0.1019 0.0103)
OKLCHoklch(31.21% 0.102 5.8)
XYZxyz(4.6414, 2.6680, 2.3680)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581229 #125841
analogous
#58124C #581229 #581E12
triadic
#581229 #295812 #122958
tetradic
#581229 #4C5812 #125841 #1E1258
square
#581229 #4C5812 #125841 #1E1258
split-complementary
#581229 #12581E #124C58
monochromatic
#19050C #250811 #581229 #8B1C41 #BE2758

Accessibility & contrast

On white

13.70
#581229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581229
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581229#FFFFFF#000000##FFFFFF
##5812291.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232529
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#60041C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581229;
/* rgb */ color: rgb(88, 18, 41);
/* oklch */ color: oklch(31.2% 0.102 5.8);
Tailwind
colors: {
  custom: {
    50: '#8b5762',
    500: '#581229',
    950: '#000000',
  },
}
SCSS
$custom: #581229;
$custom-light: #8b5762;
$custom-dark: #000000;
JSON
{
  "hex": "#581229",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 340.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.10237,
    "h": 5.8
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#581229
secondary
#359173
accent
#E9B13F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0D0305
muted
#7D7879

Preview Lab

Preview with #581229

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

Preview Lab → · Contrast checker → · Palette generator →

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