#552147#552147

#552147 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.8% C 0.093 H 339.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#552147
RGBrgb(85, 33, 71)
HSLhsl(316, 44%, 23%)
HSVhsv(316, 61%, 33%)
CMYKcmyk(0%, 61.2%, 16.5%, 66.7%)
CIE-LABlab(21.85, 29.39, -12.28)
CIE-LCHlch(21.85, 31.85, 337.33°)
OKLaboklab(33.84% 0.0866 -0.033)
OKLCHoklch(33.84% 0.093 339.1)
XYZxyz(5.4276, 3.4744, 6.3448)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552147 #21552F
analogous
#492155 #552147 #55212D
triadic
#552147 #475521 #214755
tetradic
#552147 #554921 #21552F #212D55
square
#552147 #554921 #21552F #212D55
split-complementary
#552147 #2D5521 #215549
monochromatic
#160912 #291022 #552147 #81326C #AD4391

Accessibility & contrast

On white

12.39
#552147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#552147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552147
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552147#FFFFFF#000000##FFFFFF
##5521471.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F48
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#5A2230
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #552147;
/* rgb */ color: rgb(85, 33, 71);
/* oklch */ color: oklch(33.8% 0.093 339.1);
Tailwind
colors: {
  custom: {
    50: '#875f7a',
    500: '#552147',
    950: '#000000',
  },
}
SCSS
$custom: #552147;
$custom-light: #875f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#552147",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 316.154,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33835,
    "c": 0.09269,
    "h": 339.1
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#552147
secondary
#49895A
accent
#D47654
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #552147

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

Preview Lab → · Contrast checker → · Palette generator →

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