#802223#802223

#802223 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.129 H 24.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#802223
RGBrgb(128, 34, 35)
HSLhsl(359, 58%, 32%)
HSVhsv(359, 73%, 50%)
CMYKcmyk(0%, 73.4%, 72.7%, 49.8%)
CIE-LABlab(29.05, 40.12, 23.15)
CIE-LCHlch(29.05, 46.32, 29.98°)
OKLaboklab(40.38% 0.117 0.0533)
OKLCHoklch(40.38% 0.129 24.5)
XYZxyz(9.7786, 5.8561, 2.2052)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802223 #22807F
analogous
#802252 #802223 #805022
triadic
#802223 #238022 #222380
tetradic
#802223 #528022 #22807F #502280
square
#802223 #528022 #22807F #502280
split-complementary
#802223 #228050 #225280
monochromatic
#1F0809 #501516 #802223 #B02F30 #D04D4E

Accessibility & contrast

On white

9.67
#802223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#802223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802223
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802223#FFFFFF#000000##FFFFFF
##8022231.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3822
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#8D0123
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802223;
/* rgb */ color: rgb(128, 34, 35);
/* oklch */ color: oklch(40.4% 0.129 24.5);
Tailwind
colors: {
  custom: {
    50: '#ac645e',
    500: '#802223',
    950: '#000000',
  },
}
SCSS
$custom: #802223;
$custom-light: #ac645e;
$custom-dark: #000000;
JSON
{
  "hex": "#802223",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.12862,
    "h": 24.5
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#802223
secondary
#4BB2B1
accent
#E1E047
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #802223

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

Preview Lab → · Contrast checker → · Palette generator →

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