#781B2E#781B2E

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

Color values

HEX#781B2E
RGBrgb(120, 27, 46)
HSLhsl(348, 63%, 29%)
HSVhsv(348, 78%, 47%)
CMYKcmyk(0%, 77.5%, 61.7%, 52.9%)
CIE-LABlab(26.66, 40.85, 12.55)
CIE-LCHlch(26.66, 42.73, 17.09°)
OKLaboklab(38.38% 0.1228 0.0309)
OKLCHoklch(38.38% 0.127 14.1)
XYZxyz(8.6317, 4.9754, 3.0901)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B2E #1B7865
analogous
#781B5D #781B2E #78371B
triadic
#781B2E #2E781B #1B2E78
tetradic
#781B2E #5D781B #1B7865 #371B78
square
#781B2E #5D781B #1B7865 #371B78
split-complementary
#781B2E #1B7837 #1B5D78
monochromatic
#19060A #46101B #781B2E #AA2641 #D33B5A

Accessibility & contrast

On white

10.53
#781B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B2E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B2E#FFFFFF#000000##FFFFFF
##781B2E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b2e;
/* rgb */ color: rgb(120, 27, 46);
/* oklch */ color: oklch(38.4% 0.127 14.1);
Tailwind
colors: {
  custom: {
    50: '#a56066',
    500: '#781b2e',
    950: '#000000',
  },
}
SCSS
$custom: #781b2e;
$custom-light: #a56066;
$custom-dark: #000000;
JSON
{
  "hex": "#781b2e",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 347.742,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.12666,
    "h": 14.1
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#781B2E
secondary
#43AC97
accent
#E6C541
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100505
muted
#7F797A

Preview Lab

Preview with #781B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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