#581248#581248

#581248 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.119 H 338.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#581248
RGBrgb(88, 18, 72)
HSLhsl(314, 66%, 21%)
HSVhsv(314, 80%, 35%)
CMYKcmyk(0%, 79.5%, 18.2%, 65.5%)
CIE-LABlab(19.95, 37.40, -15.86)
CIE-LCHlch(19.95, 40.63, 337.02°)
OKLaboklab(32.57% 0.111 -0.043)
OKLCHoklch(32.57% 0.119 338.8)
XYZxyz(5.4106, 2.9757, 6.4191)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581248 #125822
analogous
#451258 #581248 #581225
triadic
#581248 #485812 #124858
tetradic
#581248 #584512 #125822 #122558
square
#581248 #584512 #125822 #122558
split-complementary
#581248 #255812 #125845
monochromatic
#190515 #25081E #581248 #8B1C72 #BE279B

Accessibility & contrast

On white

13.17
#581248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#581248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581248
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581248#FFFFFF#000000##FFFFFF
##5812481.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#2D3446
Tritanopia (blue-blind)
#5D152B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581248;
/* rgb */ color: rgb(88, 18, 72);
/* oklch */ color: oklch(32.6% 0.119 338.8);
Tailwind
colors: {
  custom: {
    50: '#8a587b',
    500: '#581248',
    950: '#000000',
  },
}
SCSS
$custom: #581248;
$custom-light: #8a587b;
$custom-dark: #000000;
JSON
{
  "hex": "#581248",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 313.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32565,
    "c": 0.11905,
    "h": 338.8
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#581248
secondary
#35914A
accent
#E9663F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #581248

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

Preview Lab → · Contrast checker → · Palette generator →

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