#802228#802228

#802228 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 21.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#802228
RGBrgb(128, 34, 40)
HSLhsl(356, 58%, 32%)
HSVhsv(356, 73%, 50%)
CMYKcmyk(0%, 73.4%, 68.8%, 49.8%)
CIE-LABlab(29.13, 40.41, 20.03)
CIE-LCHlch(29.13, 45.10, 26.37°)
OKLaboklab(40.47% 0.1191 0.0472)
OKLCHoklch(40.47% 0.128 21.6)
XYZxyz(9.8582, 5.8879, 2.6245)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802228 #22807A
analogous
#802257 #802228 #804B22
triadic
#802228 #288022 #222880
tetradic
#802228 #578022 #22807A #4B2280
square
#802228 #578022 #22807A #4B2280
split-complementary
#802228 #22804B #225780
monochromatic
#1F080A #501519 #802228 #B02F37 #D04D55

Accessibility & contrast

On white

9.65
#802228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#802228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802228
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802228#FFFFFF#000000##FFFFFF
##8022281.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#8D0425
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802228;
/* rgb */ color: rgb(128, 34, 40);
/* oklch */ color: oklch(40.5% 0.128 21.6);
Tailwind
colors: {
  custom: {
    50: '#ab6461',
    500: '#802228',
    950: '#000000',
  },
}
SCSS
$custom: #802228;
$custom-light: #ab6461;
$custom-dark: #000000;
JSON
{
  "hex": "#802228",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.12809,
    "h": 21.6
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#802228
secondary
#4BB2AC
accent
#E1D747
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802228

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

Preview Lab → · Contrast checker → · Palette generator →

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