#591228#591228

#591228 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.103 H 7.1°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#591228
RGBrgb(89, 18, 40)
HSLhsl(341, 66%, 21%)
HSVhsv(341, 80%, 35%)
CMYKcmyk(0%, 79.8%, 55.1%, 65.1%)
CIE-LABlab(18.84, 33.59, 4.94)
CIE-LCHlch(18.84, 33.95, 8.36°)
OKLaboklab(31.37% 0.1024 0.0128)
OKLCHoklch(31.37% 0.103 7.1)
XYZxyz(4.7195, 2.7103, 2.2817)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591228 #125943
analogous
#59124B #591228 #591F12
triadic
#591228 #285912 #122859
tetradic
#591228 #4B5912 #125943 #1F1259
square
#591228 #4B5912 #125943 #1F1259
split-complementary
#591228 #12591F #124B59
monochromatic
#19050B #260811 #591228 #8C1C3F #BF2756

Accessibility & contrast

On white

13.62
#591228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#591228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591228
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591228#FFFFFF#000000##FFFFFF
##5912281.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242528
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#62031B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #591228;
/* rgb */ color: rgb(89, 18, 40);
/* oklch */ color: oklch(31.4% 0.103 7.1);
Tailwind
colors: {
  custom: {
    50: '#8c5761',
    500: '#591228',
    950: '#000000',
  },
}
SCSS
$custom: #591228;
$custom-light: #8c5761;
$custom-dark: #000000;
JSON
{
  "hex": "#591228",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 341.408,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.10319,
    "h": 7.1
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#591228
secondary
#359275
accent
#E9B43F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #591228

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

Preview Lab → · Contrast checker → · Palette generator →

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