#582242#582242

#582242 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.2% C 0.090 H 346.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#582242
RGBrgb(88, 34, 66)
HSLhsl(324, 44%, 24%)
HSVhsv(324, 61%, 35%)
CMYKcmyk(0%, 61.4%, 25%, 65.5%)
CIE-LABlab(22.35, 29.04, -8.07)
CIE-LCHlch(22.35, 30.14, 344.47°)
OKLaboklab(34.23% 0.0873 -0.0213)
OKLCHoklch(34.23% 0.09 346.3)
XYZxyz(5.5801, 3.6126, 5.5566)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582242 #225838
analogous
#532258 #582242 #582227
triadic
#582242 #425822 #224258
tetradic
#582242 #585322 #225838 #222758
square
#582242 #585322 #225838 #222758
split-complementary
#582242 #275822 #225853
monochromatic
#160911 #2C1121 #582242 #843363 #B04484

Accessibility & contrast

On white

12.19
#582242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#582242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582242
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582242#FFFFFF#000000##FFFFFF
##5822421.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273043
Deuteranopia (green-blind)
#363941
Tritanopia (blue-blind)
#5E212F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #582242;
/* rgb */ color: rgb(88, 34, 66);
/* oklch */ color: oklch(34.2% 0.090 346.3);
Tailwind
colors: {
  custom: {
    50: '#896076',
    500: '#582242',
    950: '#000000',
  },
}
SCSS
$custom: #582242;
$custom-light: #896076;
$custom-dark: #000000;
JSON
{
  "hex": "#582242",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 324.444,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34233,
    "c": 0.08982,
    "h": 346.3
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#582242
secondary
#4A8C65
accent
#D48854
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #582242

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

Preview Lab → · Contrast checker → · Palette generator →

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