#822128#822128

#822128 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.131 H 21.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#822128
RGBrgb(130, 33, 40)
HSLhsl(356, 60%, 32%)
HSVhsv(356, 75%, 51%)
CMYKcmyk(0%, 74.6%, 69.2%, 49%)
CIE-LABlab(29.38, 41.48, 20.44)
CIE-LCHlch(29.38, 46.24, 26.23°)
OKLaboklab(40.73% 0.1222 0.0481)
OKLCHoklch(40.73% 0.131 21.5)
XYZxyz(10.1339, 5.9882, 2.6293)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822128 #21827B
analogous
#822159 #822128 #824B21
triadic
#822128 #288221 #212882
tetradic
#822128 #598221 #21827B #4B2182
square
#822128 #598221 #21827B #4B2182
split-complementary
#822128 #21824B #215982
monochromatic
#20080A #511519 #822128 #B32D37 #D24C56

Accessibility & contrast

On white

9.56
#822128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#822128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822128
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822128#FFFFFF#000000##FFFFFF
##8221281.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#8F0024
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #822128;
/* rgb */ color: rgb(130, 33, 40);
/* oklch */ color: oklch(40.7% 0.131 21.5);
Tailwind
colors: {
  custom: {
    50: '#ad6461',
    500: '#822128',
    950: '#000000',
  },
}
SCSS
$custom: #822128;
$custom-light: #ad6461;
$custom-dark: #000000;
JSON
{
  "hex": "#822128",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 355.67,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40731,
    "c": 0.1313,
    "h": 21.5
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#822128
secondary
#4AB4AD
accent
#E3D745
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #822128

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

Preview Lab → · Contrast checker → · Palette generator →

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