#822340#822340

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

Color values

HEX#822340
RGBrgb(130, 35, 64)
HSLhsl(342, 58%, 32%)
HSVhsv(342, 73%, 51%)
CMYKcmyk(0%, 73.1%, 50.8%, 49%)
CIE-LABlab(30.20, 42.52, 5.71)
CIE-LCHlch(30.20, 42.90, 7.65°)
OKLaboklab(41.52% 0.1297 0.0149)
OKLCHoklch(41.52% 0.131 6.6)
XYZxyz(10.7333, 6.3195, 5.5041)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822340 #238265
analogous
#822370 #822340 #823523
triadic
#822340 #408223 #234082
tetradic
#822340 #708223 #238265 #352382
square
#822340 #708223 #238265 #352382
split-complementary
#822340 #238235 #237082
monochromatic
#220911 #521628 #822340 #B23058 #D05077

Accessibility & contrast

On white

9.28
#822340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822340
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822340#FFFFFF#000000##FFFFFF
##8223401.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#524E3E
Tritanopia (blue-blind)
#8E112F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #822340;
/* rgb */ color: rgb(130, 35, 64);
/* oklch */ color: oklch(41.5% 0.131 6.6);
Tailwind
colors: {
  custom: {
    50: '#ab6674',
    500: '#822340',
    950: '#000000',
  },
}
SCSS
$custom: #822340;
$custom-light: #ab6674;
$custom-dark: #000000;
JSON
{
  "hex": "#822340",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 341.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41516,
    "c": 0.13052,
    "h": 6.6
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#822340
secondary
#4DB394
accent
#E1B247
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #822340

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

Preview Lab → · Contrast checker → · Palette generator →

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