#781B2F#781B2F

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

Color values

HEX#781B2F
RGBrgb(120, 27, 47)
HSLhsl(347, 63%, 29%)
HSVhsv(347, 78%, 47%)
CMYKcmyk(0%, 77.5%, 60.8%, 52.9%)
CIE-LABlab(26.69, 40.92, 11.91)
CIE-LCHlch(26.69, 42.62, 16.23°)
OKLaboklab(38.41% 0.1233 0.0295)
OKLCHoklch(38.41% 0.127 13.5)
XYZxyz(8.6516, 4.9834, 3.1951)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B2F #1B7864
analogous
#781B5E #781B2F #78361B
triadic
#781B2F #2F781B #1B2F78
tetradic
#781B2F #5E781B #1B7864 #361B78
square
#781B2F #5E781B #1B7864 #361B78
split-complementary
#781B2F #1B7836 #1B5E78
monochromatic
#19060A #46101B #781B2F #AA2643 #D33B5B

Accessibility & contrast

On white

10.52
#781B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B2F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B2F#FFFFFF#000000##FFFFFF
##781B2F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#840023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781b2f;
/* rgb */ color: rgb(120, 27, 47);
/* oklch */ color: oklch(38.4% 0.127 13.5);
Tailwind
colors: {
  custom: {
    50: '#a56067',
    500: '#781b2f',
    950: '#000000',
  },
}
SCSS
$custom: #781b2f;
$custom-light: #a56067;
$custom-dark: #000000;
JSON
{
  "hex": "#781b2f",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.12673,
    "h": 13.5
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#781B2F
secondary
#43AC96
accent
#E6C341
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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