#781B29#781B29

#781B29 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.127 H 17.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#781B29
RGBrgb(120, 27, 41)
HSLhsl(351, 63%, 29%)
HSVhsv(351, 78%, 47%)
CMYKcmyk(0%, 77.5%, 65.8%, 52.9%)
CIE-LABlab(26.56, 40.49, 15.78)
CIE-LCHlch(26.56, 43.46, 21.29°)
OKLaboklab(38.27% 0.1207 0.038)
OKLCHoklch(38.27% 0.127 17.5)
XYZxyz(8.5388, 4.9383, 2.6010)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B29 #1B786A
analogous
#781B58 #781B29 #783C1B
triadic
#781B29 #29781B #1B2978
tetradic
#781B29 #58781B #1B786A #3C1B78
square
#781B29 #58781B #1B786A #3C1B78
split-complementary
#781B29 #1B783C #1B5878
monochromatic
#190609 #461018 #781B29 #AA263A #D33B52

Accessibility & contrast

On white

10.57
#781B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#781B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B29
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B29#FFFFFF#000000##FFFFFF
##781B291.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#4D4626
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781b29;
/* rgb */ color: rgb(120, 27, 41);
/* oklch */ color: oklch(38.3% 0.127 17.5);
Tailwind
colors: {
  custom: {
    50: '#a56062',
    500: '#781b29',
    950: '#000000',
  },
}
SCSS
$custom: #781b29;
$custom-light: #a56062;
$custom-dark: #000000;
JSON
{
  "hex": "#781b29",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 350.968,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.12653,
    "h": 17.5
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#781B29
secondary
#43AC9C
accent
#E6CD41
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #781B29

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

Preview Lab → · Contrast checker → · Palette generator →

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