#581235#581235

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

Color values

HEX#581235
RGBrgb(88, 18, 53)
HSLhsl(330, 66%, 21%)
HSVhsv(330, 80%, 35%)
CMYKcmyk(0%, 79.5%, 39.8%, 65.5%)
CIE-LABlab(19.08, 34.69, -3.97)
CIE-LCHlch(19.08, 34.92, 353.46°)
OKLaboklab(31.65% 0.1064 -0.0101)
OKLCHoklch(31.65% 0.107 354.6)
XYZxyz(4.8837, 2.7650, 3.6440)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581235 #125835
analogous
#581258 #581235 #581212
triadic
#581235 #355812 #123558
tetradic
#581235 #585812 #125835 #121258
square
#581235 #585812 #125835 #121258
split-complementary
#581235 #125812 #125858
monochromatic
#19050F #250816 #581235 #8B1C54 #BE2772

Accessibility & contrast

On white

13.52
#581235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#581235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581235
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581235#FFFFFF#000000##FFFFFF
##5812351.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2636
Deuteranopia (green-blind)
#333333
Tritanopia (blue-blind)
#5F0B21
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #581235;
/* rgb */ color: rgb(88, 18, 53);
/* oklch */ color: oklch(31.6% 0.107 354.6);
Tailwind
colors: {
  custom: {
    50: '#8b576c',
    500: '#581235',
    950: '#000000',
  },
}
SCSS
$custom: #581235;
$custom-light: #8b576c;
$custom-dark: #000000;
JSON
{
  "hex": "#581235",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 330,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.1069,
    "h": 354.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#581235
secondary
#359163
accent
#E9943F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #581235

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

Preview Lab → · Contrast checker → · Palette generator →

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