#581338#581338

#581338 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.107 H 352.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#581338
RGBrgb(88, 19, 56)
HSLhsl(328, 64%, 21%)
HSVhsv(328, 78%, 35%)
CMYKcmyk(0%, 78.4%, 36.4%, 65.5%)
CIE-LABlab(19.34, 34.68, -5.70)
CIE-LCHlch(19.34, 35.15, 350.67°)
OKLaboklab(31.88% 0.1062 -0.0147)
OKLCHoklch(31.88% 0.107 352.1)
XYZxyz(4.9715, 2.8266, 4.0244)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581338 #135833
analogous
#551358 #581338 #581315
triadic
#581338 #385813 #133858
tetradic
#581338 #585513 #135833 #131558
square
#581338 #585513 #135833 #131558
split-complementary
#581338 #155813 #135855
monochromatic
#190510 #260818 #581338 #8A1E58 #BD2978

Accessibility & contrast

On white

13.42
#581338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#581338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581338
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581338#FFFFFF#000000##FFFFFF
##5813381.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2739
Deuteranopia (green-blind)
#323336
Tritanopia (blue-blind)
#5F0E23
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581338;
/* rgb */ color: rgb(88, 19, 56);
/* oklch */ color: oklch(31.9% 0.107 352.1);
Tailwind
colors: {
  custom: {
    50: '#8a586e',
    500: '#581338',
    950: '#000000',
  },
}
SCSS
$custom: #581338;
$custom-light: #8a586e;
$custom-dark: #000000;
JSON
{
  "hex": "#581338",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 327.826,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31876,
    "c": 0.10717,
    "h": 352.1
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#581338
secondary
#379060
accent
#E78E40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #581338

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

Preview Lab → · Contrast checker → · Palette generator →

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