#781F2F#781F2F

#781F2F is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.122 H 14.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#781F2F
RGBrgb(120, 31, 47)
HSLhsl(349, 59%, 30%)
HSVhsv(349, 74%, 47%)
CMYKcmyk(0%, 74.2%, 60.8%, 52.9%)
CIE-LABlab(27.24, 39.38, 12.65)
CIE-LCHlch(27.24, 41.37, 17.81°)
OKLaboklab(38.82% 0.1183 0.0312)
OKLCHoklch(38.82% 0.122 14.8)
XYZxyz(8.7497, 5.1795, 3.2278)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F2F #1F7868
analogous
#781F5C #781F2F #783B1F
triadic
#781F2F #2F781F #1F2F78
tetradic
#781F2F #5C781F #1F7868 #3B1F78
square
#781F2F #5C781F #1F7868 #3B1F78
split-complementary
#781F2F #1F783B #1F5C78
monochromatic
#18060A #47121C #781F2F #A92C42 #CE435C

Accessibility & contrast

On white

10.32
#781F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F2F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F2F#FFFFFF#000000##FFFFFF
##781F2F1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36352F
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#840726
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f2f;
/* rgb */ color: rgb(120, 31, 47);
/* oklch */ color: oklch(38.8% 0.122 14.8);
Tailwind
colors: {
  custom: {
    50: '#a56267',
    500: '#781f2f',
    950: '#000000',
  },
}
SCSS
$custom: #781f2f;
$custom-light: #a56267;
$custom-dark: #000000;
JSON
{
  "hex": "#781f2f",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.213,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38817,
    "c": 0.12237,
    "h": 14.8
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#781F2F
secondary
#47AB99
accent
#E2C646
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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