#781F2D#781F2D

#781F2D is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.122 H 16.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#781F2D
RGBrgb(120, 31, 45)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 74%, 47%)
CMYKcmyk(0%, 74.2%, 62.5%, 52.9%)
CIE-LABlab(27.20, 39.23, 13.93)
CIE-LCHlch(27.20, 41.63, 19.55°)
OKLaboklab(38.77% 0.1175 0.0341)
OKLCHoklch(38.77% 0.122 16.2)
XYZxyz(8.7102, 5.1637, 3.0202)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F2D #1F786A
analogous
#781F5A #781F2D #783E1F
triadic
#781F2D #2D781F #1F2D78
tetradic
#781F2D #5A781F #1F786A #3E1F78
square
#781F2D #5A781F #1F786A #3E1F78
split-complementary
#781F2D #1F783E #1F5A78
monochromatic
#180609 #47121B #781F2D #A92C3F #CE4359

Accessibility & contrast

On white

10.33
#781F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F2D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F2D#FFFFFF#000000##FFFFFF
##781F2D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342D
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#840625
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f2d;
/* rgb */ color: rgb(120, 31, 45);
/* oklch */ color: oklch(38.8% 0.122 16.2);
Tailwind
colors: {
  custom: {
    50: '#a56265',
    500: '#781f2d',
    950: '#000000',
  },
}
SCSS
$custom: #781f2d;
$custom-light: #a56265;
$custom-dark: #000000;
JSON
{
  "hex": "#781f2d",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 350.562,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3877,
    "c": 0.12231,
    "h": 16.2
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#781F2D
secondary
#47AB9C
accent
#E2CA46
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #781F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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