#781F2A#781F2A

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

Color values

HEX#781F2A
RGBrgb(120, 31, 42)
HSLhsl(353, 59%, 30%)
HSVhsv(353, 74%, 47%)
CMYKcmyk(0%, 74.2%, 65%, 52.9%)
CIE-LABlab(27.13, 39.02, 15.86)
CIE-LCHlch(27.13, 42.12, 22.11°)
OKLaboklab(38.7% 0.1162 0.0383)
OKLCHoklch(38.7% 0.122 18.2)
XYZxyz(8.6545, 5.1415, 2.7267)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F2A #1F786D
analogous
#781F57 #781F2A #78411F
triadic
#781F2A #2A781F #1F2A78
tetradic
#781F2A #57781F #1F786D #411F78
square
#781F2A #57781F #1F786D #411F78
split-complementary
#781F2A #1F7841 #1F5778
monochromatic
#180609 #471219 #781F2A #A92C3B #CE4354

Accessibility & contrast

On white

10.36
#781F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F2A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F2A#FFFFFF#000000##FFFFFF
##781F2A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#840524
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f2a;
/* rgb */ color: rgb(120, 31, 42);
/* oklch */ color: oklch(38.7% 0.122 18.2);
Tailwind
colors: {
  custom: {
    50: '#a56263',
    500: '#781f2a',
    950: '#000000',
  },
}
SCSS
$custom: #781f2a;
$custom-light: #a56263;
$custom-dark: #000000;
JSON
{
  "hex": "#781f2a",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 352.584,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.12232,
    "h": 18.2
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#781F2A
secondary
#47AB9F
accent
#E2CF46
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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