#582148#582148

#582148 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.096 H 340.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#582148
RGBrgb(88, 33, 72)
HSLhsl(317, 45%, 24%)
HSVhsv(317, 63%, 35%)
CMYKcmyk(0%, 62.5%, 18.2%, 65.5%)
CIE-LABlab(22.41, 30.58, -12.05)
CIE-LCHlch(22.41, 32.87, 338.49°)
OKLaboklab(34.37% 0.0906 -0.0323)
OKLCHoklch(34.37% 0.096 340.3)
XYZxyz(5.7382, 3.6308, 6.5282)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582148 #215831
analogous
#4C2158 #582148 #58212C
triadic
#582148 #485821 #214858
tetradic
#582148 #584C21 #215831 #212C58
square
#582148 #584C21 #215831 #212C58
split-complementary
#582148 #2C5821 #21584C
monochromatic
#160812 #2B1024 #582148 #85326C #B14291

Accessibility & contrast

On white

12.17
#582148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#582148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582148
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582148#FFFFFF#000000##FFFFFF
##5821481.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243049
Deuteranopia (green-blind)
#343947
Tritanopia (blue-blind)
#5D2231
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #582148;
/* rgb */ color: rgb(88, 33, 72);
/* oklch */ color: oklch(34.4% 0.096 340.3);
Tailwind
colors: {
  custom: {
    50: '#89607b',
    500: '#582148',
    950: '#000000',
  },
}
SCSS
$custom: #582148;
$custom-light: #89607b;
$custom-dark: #000000;
JSON
{
  "hex": "#582148",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 317.455,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.09616,
    "h": 340.3
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#582148
secondary
#498C5C
accent
#D57953
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #582148

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

Preview Lab → · Contrast checker → · Palette generator →

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