#802227#802227

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

Color values

HEX#802227
RGBrgb(128, 34, 39)
HSLhsl(357, 58%, 32%)
HSVhsv(357, 73%, 50%)
CMYKcmyk(0%, 73.4%, 69.5%, 49.8%)
CIE-LABlab(29.11, 40.35, 20.66)
CIE-LCHlch(29.11, 45.33, 27.12°)
OKLaboklab(40.45% 0.1187 0.0485)
OKLCHoklch(40.45% 0.128 22.2)
XYZxyz(9.8414, 5.8812, 2.5360)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802227 #22807B
analogous
#802256 #802227 #804C22
triadic
#802227 #278022 #222780
tetradic
#802227 #568022 #22807B #4C2280
square
#802227 #568022 #22807B #4C2280
split-complementary
#802227 #22804C #225680
monochromatic
#1F080A #501518 #802227 #B02F36 #D04D54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802227#FFFFFF#000000##FFFFFF
##8022271.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)
#3C3826
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#8D0325
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802227;
/* rgb */ color: rgb(128, 34, 39);
/* oklch */ color: oklch(40.5% 0.128 22.2);
Tailwind
colors: {
  custom: {
    50: '#ab6461',
    500: '#802227',
    950: '#000000',
  },
}
SCSS
$custom: #802227;
$custom-light: #ab6461;
$custom-dark: #000000;
JSON
{
  "hex": "#802227",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.809,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.12818,
    "h": 22.2
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#802227
secondary
#4BB2AD
accent
#E1D947
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #802227

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

Preview Lab → · Contrast checker → · Palette generator →

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