#581245#581245

#581245 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.117 H 341.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#581245
RGBrgb(88, 18, 69)
HSLhsl(316, 66%, 21%)
HSVhsv(316, 80%, 35%)
CMYKcmyk(0%, 79.5%, 21.6%, 65.5%)
CIE-LABlab(19.79, 36.93, -14.04)
CIE-LCHlch(19.79, 39.51, 339.18°)
OKLaboklab(32.4% 0.1106 -0.0378)
OKLCHoklch(32.4% 0.117 341.1)
XYZxyz(5.3152, 2.9375, 5.9161)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581245 #125825
analogous
#481258 #581245 #581222
triadic
#581245 #455812 #124558
tetradic
#581245 #584812 #125825 #122258
square
#581245 #584812 #125825 #122258
split-complementary
#581245 #225812 #125848
monochromatic
#190514 #25081D #581245 #8B1C6D #BE2795

Accessibility & contrast

On white

13.23
#581245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#581245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581245
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581245#FFFFFF#000000##FFFFFF
##5812451.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#2E3443
Tritanopia (blue-blind)
#5E142A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581245;
/* rgb */ color: rgb(88, 18, 69);
/* oklch */ color: oklch(32.4% 0.117 341.1);
Tailwind
colors: {
  custom: {
    50: '#8a5878',
    500: '#581245',
    950: '#000000',
  },
}
SCSS
$custom: #581245;
$custom-light: #8a5878;
$custom-dark: #000000;
JSON
{
  "hex": "#581245",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 316.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.11683,
    "h": 341.1
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#581245
secondary
#35914E
accent
#E96D3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581245

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

Preview Lab → · Contrast checker → · Palette generator →

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