#781F1F#781F1F

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

Color values

HEX#781F1F
RGBrgb(120, 31, 31)
HSLhsl(0, 59%, 30%)
HSVhsv(0, 74%, 47%)
CMYKcmyk(0%, 74.2%, 74.2%, 52.9%)
CIE-LABlab(26.94, 38.36, 22.82)
CIE-LCHlch(26.94, 44.63, 30.75°)
OKLaboklab(38.5% 0.1116 0.0523)
OKLCHoklch(38.5% 0.123 25.1)
XYZxyz(8.4840, 5.0732, 1.8286)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F1F #1F7878
analogous
#781F4C #781F1F #784C1F
triadic
#781F1F #1F781F #1F1F78
tetradic
#781F1F #4C781F #1F7878 #4C1F78
square
#781F1F #4C781F #1F7878 #4C1F78
split-complementary
#781F1F #1F784C #1F4C78
monochromatic
#180606 #471212 #781F1F #A92C2C #CE4343

Accessibility & contrast

On white

10.42
#781F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F1F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F1F#FFFFFF#000000##FFFFFF
##781F1F1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f1f;
/* rgb */ color: rgb(120, 31, 31);
/* oklch */ color: oklch(38.5% 0.123 25.1);
Tailwind
colors: {
  custom: {
    50: '#a6625a',
    500: '#781f1f',
    950: '#000000',
  },
}
SCSS
$custom: #781f1f;
$custom-light: #a6625a;
$custom-dark: #000000;
JSON
{
  "hex": "#781f1f",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.12325,
    "h": 25.1
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#781F1F
secondary
#47ABAB
accent
#E2E246
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #781F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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