#782229#782229

#782229 is a dark, moderate red. Relative luminance 0.053; OKLCH L 39.0% C 0.119 H 20.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#782229
RGBrgb(120, 34, 41)
HSLhsl(355, 56%, 30%)
HSVhsv(355, 72%, 47%)
CMYKcmyk(0%, 71.7%, 65.8%, 52.9%)
CIE-LABlab(27.57, 37.70, 17.08)
CIE-LCHlch(27.57, 41.39, 24.37°)
OKLaboklab(39.02% 0.1118 0.041)
OKLCHoklch(39.02% 0.119 20.1)
XYZxyz(8.7189, 5.2985, 2.6610)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782229 #227871
analogous
#782254 #782229 #784622
triadic
#782229 #297822 #222978
tetradic
#782229 #547822 #227871 #462278
square
#782229 #547822 #227871 #462278
split-complementary
#782229 #227846 #225478
monochromatic
#190708 #481419 #782229 #A83039 #CB4954

Accessibility & contrast

On white

10.20
#782229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#782229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782229
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782229#FFFFFF#000000##FFFFFF
##7822291.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393629
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#840B25
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782229;
/* rgb */ color: rgb(120, 34, 41);
/* oklch */ color: oklch(39.0% 0.119 20.1);
Tailwind
colors: {
  custom: {
    50: '#a56362',
    500: '#782229',
    950: '#000000',
  },
}
SCSS
$custom: #782229;
$custom-light: #a56362;
$custom-dark: #000000;
JSON
{
  "hex": "#782229",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.116,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.11904,
    "h": 20.1
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#782229
secondary
#4BABA3
accent
#DFD349
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782229

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

Preview Lab → · Contrast checker → · Palette generator →

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