#822342#822342

#822342 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.131 H 5.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#822342
RGBrgb(130, 35, 66)
HSLhsl(340, 58%, 32%)
HSVhsv(340, 73%, 51%)
CMYKcmyk(0%, 73.1%, 49.2%, 49%)
CIE-LABlab(30.26, 42.71, 4.47)
CIE-LCHlch(30.26, 42.94, 5.97°)
OKLaboklab(41.58% 0.1305 0.0119)
OKLCHoklch(41.58% 0.131 5.2)
XYZxyz(10.7912, 6.3426, 5.8092)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822342 #238263
analogous
#822372 #822342 #823323
triadic
#822342 #428223 #234282
tetradic
#822342 #728223 #238263 #332382
square
#822342 #728223 #238263 #332382
split-complementary
#822342 #238233 #237282
monochromatic
#220911 #52162A #822342 #B2305A #D05079

Accessibility & contrast

On white

9.26
#822342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#822342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822342
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822342#FFFFFF#000000##FFFFFF
##8223421.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#524E40
Tritanopia (blue-blind)
#8E1230
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #822342;
/* rgb */ color: rgb(130, 35, 66);
/* oklch */ color: oklch(41.6% 0.131 5.2);
Tailwind
colors: {
  custom: {
    50: '#ab6676',
    500: '#822342',
    950: '#000000',
  },
}
SCSS
$custom: #822342;
$custom-light: #ab6676;
$custom-dark: #000000;
JSON
{
  "hex": "#822342",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 340.421,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.13099,
    "h": 5.2
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#822342
secondary
#4DB392
accent
#E1AF47
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #822342

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

Preview Lab → · Contrast checker → · Palette generator →

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