#822142#822142

#822142 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.133 H 4.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#822142
RGBrgb(130, 33, 66)
HSLhsl(340, 60%, 32%)
HSVhsv(340, 75%, 51%)
CMYKcmyk(0%, 74.6%, 49.2%, 49%)
CIE-LABlab(29.98, 43.49, 4.07)
CIE-LCHlch(29.98, 43.68, 5.35°)
OKLaboklab(41.37% 0.1329 0.0108)
OKLCHoklch(41.37% 0.133 4.7)
XYZxyz(10.7340, 6.2283, 5.7901)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822142 #218261
analogous
#822173 #822142 #823121
triadic
#822142 #428221 #214282
tetradic
#822142 #738221 #218261 #312182
square
#822142 #738221 #218261 #312182
split-complementary
#822142 #218231 #217382
monochromatic
#200810 #511529 #822142 #B32D5B #D24C79

Accessibility & contrast

On white

9.35
#822142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#822142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822142
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822142#FFFFFF#000000##FFFFFF
##8221421.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#514E40
Tritanopia (blue-blind)
#8E0F2F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #822142;
/* rgb */ color: rgb(130, 33, 66);
/* oklch */ color: oklch(41.4% 0.133 4.7);
Tailwind
colors: {
  custom: {
    50: '#ab6576',
    500: '#822142',
    950: '#000000',
  },
}
SCSS
$custom: #822142;
$custom-light: #ab6576;
$custom-dark: #000000;
JSON
{
  "hex": "#822142",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 339.588,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.13338,
    "h": 4.7
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#822142
secondary
#4AB490
accent
#E3AD45
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #822142

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

Preview Lab → · Contrast checker → · Palette generator →

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