#781F2C#781F2C

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

Color values

HEX#781F2C
RGBrgb(120, 31, 44)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 74%, 47%)
CMYKcmyk(0%, 74.2%, 63.3%, 52.9%)
CIE-LABlab(27.17, 39.16, 14.57)
CIE-LCHlch(27.17, 41.79, 20.41°)
OKLaboklab(38.75% 0.117 0.0355)
OKLCHoklch(38.75% 0.122 16.9)
XYZxyz(8.6912, 5.1561, 2.9200)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F2C #1F786B
analogous
#781F59 #781F2C #783F1F
triadic
#781F2C #2C781F #1F2C78
tetradic
#781F2C #59781F #1F786B #3F1F78
square
#781F2C #59781F #1F786B #3F1F78
split-complementary
#781F2C #1F783F #1F5978
monochromatic
#180609 #47121A #781F2C #A92C3E #CE4357

Accessibility & contrast

On white

10.34
#781F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F2C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F2C#FFFFFF#000000##FFFFFF
##781F2C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342C
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#840624
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f2c;
/* rgb */ color: rgb(120, 31, 44);
/* oklch */ color: oklch(38.7% 0.122 16.9);
Tailwind
colors: {
  custom: {
    50: '#a56264',
    500: '#781f2c',
    950: '#000000',
  },
}
SCSS
$custom: #781f2c;
$custom-light: #a56264;
$custom-dark: #000000;
JSON
{
  "hex": "#781f2c",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.236,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.12231,
    "h": 16.9
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#781F2C
secondary
#47AB9D
accent
#E2CB46
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #781F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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