#822138#822138

#822138 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.132 H 11.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#822138
RGBrgb(130, 33, 56)
HSLhsl(346, 60%, 32%)
HSVhsv(346, 75%, 51%)
CMYKcmyk(0%, 74.6%, 56.9%, 49%)
CIE-LABlab(29.71, 42.60, 10.34)
CIE-LCHlch(29.71, 43.83, 13.64°)
OKLaboklab(41.09% 0.1289 0.026)
OKLCHoklch(41.09% 0.132 11.4)
XYZxyz(10.4646, 6.1205, 4.3710)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822138 #21826B
analogous
#822169 #822138 #823B21
triadic
#822138 #388221 #213882
tetradic
#822138 #698221 #21826B #3B2182
square
#822138 #698221 #21826B #3B2182
split-complementary
#822138 #21823B #216982
monochromatic
#20080E #511523 #822138 #B32D4D #D24C6C

Accessibility & contrast

On white

9.44
#822138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#822138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822138
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822138#FFFFFF#000000##FFFFFF
##8221381.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3938
Deuteranopia (green-blind)
#534D36
Tritanopia (blue-blind)
#8E082A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #822138;
/* rgb */ color: rgb(130, 33, 56);
/* oklch */ color: oklch(41.1% 0.132 11.4);
Tailwind
colors: {
  custom: {
    50: '#ac656e',
    500: '#822138',
    950: '#000000',
  },
}
SCSS
$custom: #822138;
$custom-light: #ac656e;
$custom-dark: #000000;
JSON
{
  "hex": "#822138",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 345.773,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.1315,
    "h": 11.4
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#822138
secondary
#4AB49B
accent
#E3BD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #822138

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

Preview Lab → · Contrast checker → · Palette generator →

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