#822A42#822A42

#822A42 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 7.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#822A42
RGBrgb(130, 42, 66)
HSLhsl(344, 51%, 34%)
HSVhsv(344, 68%, 51%)
CMYKcmyk(0%, 67.7%, 49.2%, 49%)
CIE-LABlab(31.34, 39.75, 6.00)
CIE-LCHlch(31.34, 40.20, 8.59°)
OKLaboklab(42.38% 0.121 0.0157)
OKLCHoklch(42.38% 0.122 7.4)
XYZxyz(11.0181, 6.7965, 5.8848)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A42 #2A826A
analogous
#822A6E #822A42 #823E2A
triadic
#822A42 #42822A #2A4282
tetradic
#822A42 #6E822A #2A826A #3E2A82
square
#822A42 #6E822A #2A826A #3E2A82
split-complementary
#822A42 #2A823E #2A6E82
monochromatic
#250C13 #541B2B #822A42 #B03959 #CA5C7A

Accessibility & contrast

On white

8.90
#822A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#822A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A42
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A42#FFFFFF#000000##FFFFFF
##822A421.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#8E1D33
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #822a42;
/* rgb */ color: rgb(130, 42, 66);
/* oklch */ color: oklch(42.4% 0.122 7.4);
Tailwind
colors: {
  custom: {
    50: '#ab6976',
    500: '#822a42',
    950: '#000000',
  },
}
SCSS
$custom: #822a42;
$custom-light: #ab6976;
$custom-dark: #000000;
JSON
{
  "hex": "#822a42",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 343.636,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.12201,
    "h": 7.4
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#822A42
secondary
#58B098
accent
#DBB44D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #822A42

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

Preview Lab → · Contrast checker → · Palette generator →

#822A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva