#781F22#781F22

#781F22 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.123 H 23.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#781F22
RGBrgb(120, 31, 34)
HSLhsl(358, 59%, 30%)
HSVhsv(358, 74%, 47%)
CMYKcmyk(0%, 74.2%, 71.7%, 52.9%)
CIE-LABlab(26.99, 38.52, 20.94)
CIE-LCHlch(26.99, 43.85, 28.53°)
OKLaboklab(38.55% 0.1128 0.0487)
OKLCHoklch(38.55% 0.123 23.3)
XYZxyz(8.5254, 5.0898, 2.0466)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F22 #1F7875
analogous
#781F4E #781F22 #78491F
triadic
#781F22 #22781F #1F2278
tetradic
#781F22 #4E781F #1F7875 #491F78
square
#781F22 #4E781F #1F7875 #491F78
split-complementary
#781F22 #1F7849 #1F4E78
monochromatic
#180607 #471214 #781F22 #A92C30 #CE4348

Accessibility & contrast

On white

10.41
#781F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F22
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F22#FFFFFF#000000##FFFFFF
##781F221.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#840121
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f22;
/* rgb */ color: rgb(120, 31, 34);
/* oklch */ color: oklch(38.5% 0.123 23.3);
Tailwind
colors: {
  custom: {
    50: '#a6625d',
    500: '#781f22',
    950: '#000000',
  },
}
SCSS
$custom: #781f22;
$custom-light: #a6625d;
$custom-dark: #000000;
JSON
{
  "hex": "#781f22",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 357.978,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.12287,
    "h": 23.3
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#781F22
secondary
#47ABA8
accent
#E2DD46
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #781F22

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

Preview Lab → · Contrast checker → · Palette generator →

#781F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva