#581242#581242

#581242 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.115 H 343.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#581242
RGBrgb(88, 18, 66)
HSLhsl(319, 66%, 21%)
HSVhsv(319, 80%, 35%)
CMYKcmyk(0%, 79.5%, 25%, 65.5%)
CIE-LABlab(19.64, 36.47, -12.20)
CIE-LCHlch(19.64, 38.46, 341.51°)
OKLaboklab(32.25% 0.11 -0.0326)
OKLCHoklch(32.25% 0.115 343.5)
XYZxyz(5.2244, 2.9012, 5.4381)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581242 #125828
analogous
#4B1258 #581242 #58121F
triadic
#581242 #425812 #124258
tetradic
#581242 #584B12 #125828 #121F58
square
#581242 #584B12 #125828 #121F58
split-complementary
#581242 #1F5812 #12584B
monochromatic
#190513 #25081C #581242 #8B1C68 #BE278E

Accessibility & contrast

On white

13.29
#581242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#581242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581242
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581242#FFFFFF#000000##FFFFFF
##5812421.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2843
Deuteranopia (green-blind)
#2F3440
Tritanopia (blue-blind)
#5E1228
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581242;
/* rgb */ color: rgb(88, 18, 66);
/* oklch */ color: oklch(32.2% 0.115 343.5);
Tailwind
colors: {
  custom: {
    50: '#8a5876',
    500: '#581242',
    950: '#000000',
  },
}
SCSS
$custom: #581242;
$custom-light: #8a5876;
$custom-dark: #000000;
JSON
{
  "hex": "#581242",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 318.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.1147,
    "h": 343.5
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#581242
secondary
#359152
accent
#E9743F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #581242

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

Preview Lab → · Contrast checker → · Palette generator →

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