#781C31#781C31

#781C31 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.126 H 12.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#781C31
RGBrgb(120, 28, 49)
HSLhsl(346, 62%, 29%)
HSVhsv(346, 77%, 47%)
CMYKcmyk(0%, 76.7%, 59.2%, 52.9%)
CIE-LABlab(26.87, 40.70, 10.80)
CIE-LCHlch(26.87, 42.11, 14.86°)
OKLaboklab(38.56% 0.1229 0.027)
OKLCHoklch(38.56% 0.126 12.4)
XYZxyz(8.7162, 5.0466, 3.4203)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C31 #1C7863
analogous
#781C5F #781C31 #78351C
triadic
#781C31 #31781C #1C3178
tetradic
#781C31 #5F781C #1C7863 #351C78
square
#781C31 #5F781C #1C7863 #351C78
split-complementary
#781C31 #1C7835 #1C5F78
monochromatic
#19060A #46101D #781C31 #AA2845 #D23D5F

Accessibility & contrast

On white

10.45
#781C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C31
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C31#FFFFFF#000000##FFFFFF
##781C311.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343331
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#840225
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c31;
/* rgb */ color: rgb(120, 28, 49);
/* oklch */ color: oklch(38.6% 0.126 12.4);
Tailwind
colors: {
  custom: {
    50: '#a56168',
    500: '#781c31',
    950: '#000000',
  },
}
SCSS
$custom: #781c31;
$custom-light: #a56168;
$custom-dark: #000000;
JSON
{
  "hex": "#781c31",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 346.304,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.12583,
    "h": 12.4
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#781C31
secondary
#44AC94
accent
#E5C043
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781C31

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

Preview Lab → · Contrast checker → · Palette generator →

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