#782227#782227

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

Color values

HEX#782227
RGBrgb(120, 34, 39)
HSLhsl(357, 56%, 30%)
HSVhsv(357, 72%, 47%)
CMYKcmyk(0%, 71.7%, 67.5%, 52.9%)
CIE-LABlab(27.53, 37.57, 18.35)
CIE-LCHlch(27.53, 41.81, 26.03°)
OKLaboklab(38.98% 0.1109 0.0436)
OKLCHoklch(38.98% 0.119 21.5)
XYZxyz(8.6849, 5.2848, 2.4818)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782227 #227873
analogous
#782252 #782227 #784822
triadic
#782227 #277822 #222778
tetradic
#782227 #527822 #227873 #482278
square
#782227 #527822 #227873 #482278
split-complementary
#782227 #227848 #225278
monochromatic
#190708 #481418 #782227 #A83036 #CB4951

Accessibility & contrast

On white

10.21
#782227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782227
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782227#FFFFFF#000000##FFFFFF
##7822271.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#840A25
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782227;
/* rgb */ color: rgb(120, 34, 39);
/* oklch */ color: oklch(39.0% 0.119 21.5);
Tailwind
colors: {
  custom: {
    50: '#a56361',
    500: '#782227',
    950: '#000000',
  },
}
SCSS
$custom: #782227;
$custom-light: #a56361;
$custom-dark: #000000;
JSON
{
  "hex": "#782227",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.11919,
    "h": 21.5
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#782227
secondary
#4BABA5
accent
#DFD649
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782227

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

Preview Lab → · Contrast checker → · Palette generator →

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