#822147#822147

#822147 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.135 H 1.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#822147
RGBrgb(130, 33, 71)
HSLhsl(336, 60%, 32%)
HSVhsv(336, 75%, 51%)
CMYKcmyk(0%, 74.6%, 45.4%, 49%)
CIE-LABlab(30.13, 43.99, 0.97)
CIE-LCHlch(30.13, 44.00, 1.27°)
OKLaboklab(41.53% 0.1348 0.003)
OKLCHoklch(41.53% 0.135 1.3)
XYZxyz(10.8879, 6.2899, 6.6007)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822147 #21825C
analogous
#822178 #822147 #822C21
triadic
#822147 #478221 #214782
tetradic
#822147 #788221 #21825C #2C2182
square
#822147 #788221 #21825C #2C2182
split-complementary
#822147 #21822C #217882
monochromatic
#200812 #51152C #822147 #B32D62 #D24C80

Accessibility & contrast

On white

9.30
#822147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#822147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822147
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822147#FFFFFF#000000##FFFFFF
##8221471.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#504E45
Tritanopia (blue-blind)
#8D1231
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #822147;
/* rgb */ color: rgb(130, 33, 71);
/* oklch */ color: oklch(41.5% 0.135 1.3);
Tailwind
colors: {
  custom: {
    50: '#ab657a',
    500: '#822147',
    950: '#000000',
  },
}
SCSS
$custom: #822147;
$custom-light: #ab657a;
$custom-dark: #000000;
JSON
{
  "hex": "#822147",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 336.495,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.13486,
    "h": 1.3
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#822147
secondary
#4AB48B
accent
#E3A545
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #822147

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

Preview Lab → · Contrast checker → · Palette generator →

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