#781B31#781B31

#781B31 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.127 H 12.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#781B31
RGBrgb(120, 27, 49)
HSLhsl(346, 63%, 29%)
HSVhsv(346, 78%, 47%)
CMYKcmyk(0%, 77.5%, 59.2%, 52.9%)
CIE-LABlab(26.73, 41.07, 10.62)
CIE-LCHlch(26.73, 42.43, 14.50°)
OKLaboklab(38.46% 0.1241 0.0265)
OKLCHoklch(38.46% 0.127 12.1)
XYZxyz(8.6929, 4.9999, 3.4125)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B31 #1B7862
analogous
#781B60 #781B31 #78341B
triadic
#781B31 #31781B #1B3178
tetradic
#781B31 #60781B #1B7862 #341B78
square
#781B31 #60781B #1B7862 #341B78
split-complementary
#781B31 #1B7834 #1B6078
monochromatic
#19060A #46101D #781B31 #AA2645 #D33B5F

Accessibility & contrast

On white

10.50
#781B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B31
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B31#FFFFFF#000000##FFFFFF
##781B311.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b31;
/* rgb */ color: rgb(120, 27, 49);
/* oklch */ color: oklch(38.5% 0.127 12.1);
Tailwind
colors: {
  custom: {
    50: '#a56068',
    500: '#781b31',
    950: '#000000',
  },
}
SCSS
$custom: #781b31;
$custom-light: #a56068;
$custom-dark: #000000;
JSON
{
  "hex": "#781b31",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 345.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.12691,
    "h": 12.1
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#781B31
secondary
#43AC93
accent
#E6BF41
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781B31

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

Preview Lab → · Contrast checker → · Palette generator →

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