#781F29#781F29

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

Color values

HEX#781F29
RGBrgb(120, 31, 41)
HSLhsl(353, 59%, 30%)
HSVhsv(353, 74%, 47%)
CMYKcmyk(0%, 74.2%, 65.8%, 52.9%)
CIE-LABlab(27.11, 38.95, 16.50)
CIE-LCHlch(27.11, 42.30, 22.95°)
OKLaboklab(38.68% 0.1158 0.0396)
OKLCHoklch(38.68% 0.122 18.9)
XYZxyz(8.6368, 5.1344, 2.6336)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F29 #1F786E
analogous
#781F56 #781F29 #78411F
triadic
#781F29 #29781F #1F2978
tetradic
#781F29 #56781F #1F786E #411F78
square
#781F29 #56781F #1F786E #411F78
split-complementary
#781F29 #1F7841 #1F5678
monochromatic
#180608 #471218 #781F29 #A92C3A #CE4353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781F29#FFFFFF#000000##FFFFFF
##781F291.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)
#373429
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#840423
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f29;
/* rgb */ color: rgb(120, 31, 41);
/* oklch */ color: oklch(38.7% 0.122 18.9);
Tailwind
colors: {
  custom: {
    50: '#a56262',
    500: '#781f29',
    950: '#000000',
  },
}
SCSS
$custom: #781f29;
$custom-light: #a56262;
$custom-dark: #000000;
JSON
{
  "hex": "#781f29",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 353.258,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.12235,
    "h": 18.9
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#781F29
secondary
#47ABA0
accent
#E2D146
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781F29

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

Preview Lab → · Contrast checker → · Palette generator →

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