#562147#562147

#562147 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.094 H 339.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#562147
RGBrgb(86, 33, 71)
HSLhsl(317, 45%, 23%)
HSVhsv(317, 62%, 34%)
CMYKcmyk(0%, 61.6%, 17.4%, 66.3%)
CIE-LABlab(22.02, 29.73, -12.00)
CIE-LCHlch(22.02, 32.06, 338.02°)
OKLaboklab(33.99% 0.0878 -0.0322)
OKLCHoklch(33.99% 0.094 339.9)
XYZxyz(5.5190, 3.5215, 6.3491)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562147 #215630
analogous
#4A2156 #562147 #56212C
triadic
#562147 #475621 #214756
tetradic
#562147 #564A21 #215630 #212C56
square
#562147 #564A21 #215630 #212C56
split-complementary
#562147 #2C5621 #21564A
monochromatic
#160812 #2A1022 #562147 #82326C #AE4390

Accessibility & contrast

On white

12.32
#562147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#562147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562147
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562147#FFFFFF#000000##FFFFFF
##5621471.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F48
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#5B2230
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #562147;
/* rgb */ color: rgb(86, 33, 71);
/* oklch */ color: oklch(34.0% 0.094 339.9);
Tailwind
colors: {
  custom: {
    50: '#875f7a',
    500: '#562147',
    950: '#000000',
  },
}
SCSS
$custom: #562147;
$custom-light: #875f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#562147",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 316.981,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.09357,
    "h": 339.9
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#562147
secondary
#498A5B
accent
#D47854
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #562147

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

Preview Lab → · Contrast checker → · Palette generator →

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