#581228#581228

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

Color values

HEX#581228
RGBrgb(88, 18, 40)
HSLhsl(341, 66%, 21%)
HSVhsv(341, 80%, 35%)
CMYKcmyk(0%, 79.5%, 54.5%, 65.5%)
CIE-LABlab(18.63, 33.25, 4.61)
CIE-LCHlch(18.63, 33.57, 7.89°)
OKLaboklab(31.18% 0.1014 0.012)
OKLCHoklch(31.18% 0.102 6.7)
XYZxyz(4.6242, 2.6612, 2.2772)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581228 #125842
analogous
#58124B #581228 #581F12
triadic
#581228 #285812 #122858
tetradic
#581228 #4B5812 #125842 #1F1258
square
#581228 #4B5812 #125842 #1F1258
split-complementary
#581228 #12581F #124B58
monochromatic
#19050C #250811 #581228 #8B1C3F #BE2756

Accessibility & contrast

On white

13.71
#581228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581228
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581228#FFFFFF#000000##FFFFFF
##5812281.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581228;
/* rgb */ color: rgb(88, 18, 40);
/* oklch */ color: oklch(31.2% 0.102 6.7);
Tailwind
colors: {
  custom: {
    50: '#8c5761',
    500: '#581228',
    950: '#000000',
  },
}
SCSS
$custom: #581228;
$custom-light: #8c5761;
$custom-dark: #000000;
JSON
{
  "hex": "#581228",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 341.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.10213,
    "h": 6.7
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#581228
secondary
#359174
accent
#E9B33F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0305
muted
#7D7879

Preview Lab

Preview with #581228

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

Preview Lab → · Contrast checker → · Palette generator →

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