#781E2F#781E2F

#781E2F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.123 H 14.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#781E2F
RGBrgb(120, 30, 47)
HSLhsl(349, 60%, 29%)
HSVhsv(349, 75%, 47%)
CMYKcmyk(0%, 75%, 60.8%, 52.9%)
CIE-LABlab(27.10, 39.78, 12.46)
CIE-LCHlch(27.10, 41.69, 17.39°)
OKLaboklab(38.71% 0.1196 0.0308)
OKLCHoklch(38.71% 0.124 14.4)
XYZxyz(8.7239, 5.1281, 3.2192)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E2F #1E7867
analogous
#781E5C #781E2F #783A1E
triadic
#781E2F #2F781E #1E2F78
tetradic
#781E2F #5C781E #1E7867 #3A1E78
square
#781E2F #5C781E #1E7867 #3A1E78
split-complementary
#781E2F #1E783A #1E5C78
monochromatic
#18060A #47121C #781E2F #A92A42 #CF415C

Accessibility & contrast

On white

10.37
#781E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E2F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E2F#FFFFFF#000000##FFFFFF
##781E2F1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#840525
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e2f;
/* rgb */ color: rgb(120, 30, 47);
/* oklch */ color: oklch(38.7% 0.123 14.4);
Tailwind
colors: {
  custom: {
    50: '#a56167',
    500: '#781e2f',
    950: '#000000',
  },
}
SCSS
$custom: #781e2f;
$custom-light: #a56167;
$custom-dark: #000000;
JSON
{
  "hex": "#781e2f",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 348.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.1235,
    "h": 14.4
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#781E2F
secondary
#46AC98
accent
#E3C545
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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