#582140#582140

#582140 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.090 H 348.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#582140
RGBrgb(88, 33, 64)
HSLhsl(326, 45%, 24%)
HSVhsv(326, 63%, 35%)
CMYKcmyk(0%, 62.5%, 27.3%, 65.5%)
CIE-LABlab(22.06, 29.26, -7.13)
CIE-LCHlch(22.06, 30.11, 346.30°)
OKLaboklab(33.99% 0.0883 -0.0187)
OKLCHoklch(33.99% 0.09 348)
XYZxyz(5.4940, 3.5331, 5.2421)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582140 #215839
analogous
#542158 #582140 #582124
triadic
#582140 #405821 #214058
tetradic
#582140 #585421 #215839 #212458
square
#582140 #585421 #215839 #212458
split-complementary
#582140 #245821 #215854
monochromatic
#160810 #2B1020 #582140 #853260 #B14281

Accessibility & contrast

On white

12.31
#582140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#582140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582140
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582140#FFFFFF#000000##FFFFFF
##5821401.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#36383F
Tritanopia (blue-blind)
#5E202D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #582140;
/* rgb */ color: rgb(88, 33, 64);
/* oklch */ color: oklch(34.0% 0.090 348.0);
Tailwind
colors: {
  custom: {
    50: '#895f74',
    500: '#582140',
    950: '#000000',
  },
}
SCSS
$custom: #582140;
$custom-light: #895f74;
$custom-dark: #000000;
JSON
{
  "hex": "#582140",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 326.182,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.09023,
    "h": 348
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#582140
secondary
#498C66
accent
#D58C53
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #582140

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

Preview Lab → · Contrast checker → · Palette generator →

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