#551228#551228

#551228 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.099 H 5.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#551228
RGBrgb(85, 18, 40)
HSLhsl(340, 65%, 20%)
HSVhsv(340, 79%, 33%)
CMYKcmyk(0%, 78.8%, 52.9%, 66.7%)
CIE-LABlab(18.00, 32.25, 3.62)
CIE-LCHlch(18.00, 32.45, 6.40°)
OKLaboklab(30.59% 0.0985 0.0095)
OKLCHoklch(30.59% 0.099 5.5)
XYZxyz(4.3460, 2.5177, 2.2642)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551228 #12553F
analogous
#551249 #551228 #551E12
triadic
#551228 #285512 #122855
tetradic
#551228 #495512 #12553F #1E1255
square
#551228 #495512 #12553F #1E1255
split-complementary
#551228 #12551E #124955
monochromatic
#19050C #220710 #551228 #881D40 #BA2758

Accessibility & contrast

On white

13.97
#551228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#551228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551228
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551228#FFFFFF#000000##FFFFFF
##5512281.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#343126
Tritanopia (blue-blind)
#5D051B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #551228;
/* rgb */ color: rgb(85, 18, 40);
/* oklch */ color: oklch(30.6% 0.099 5.5);
Tailwind
colors: {
  custom: {
    50: '#895661',
    500: '#551228',
    950: '#000000',
  },
}
SCSS
$custom: #551228;
$custom-light: #895661;
$custom-dark: #000000;
JSON
{
  "hex": "#551228",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 340.299,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30591,
    "c": 0.09896,
    "h": 5.5
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#551228
secondary
#358E71
accent
#E8B140
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #551228

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

Preview Lab → · Contrast checker → · Palette generator →

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