#781517#781517

#781517 is a dark, vivid red. Relative luminance 0.046; OKLCH L 37.4% C 0.133 H 25.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#781517
RGBrgb(120, 21, 23)
HSLhsl(359, 70%, 28%)
HSVhsv(359, 83%, 47%)
CMYKcmyk(0%, 82.5%, 80.8%, 52.9%)
CIE-LABlab(25.54, 41.60, 26.30)
CIE-LCHlch(25.54, 49.22, 32.30°)
OKLaboklab(37.42% 0.12 0.0578)
OKLCHoklch(37.42% 0.133 25.7)
XYZxyz(8.1695, 4.5926, 1.2667)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781517 #157876
analogous
#781548 #781517 #784515
triadic
#781517 #177815 #151778
tetradic
#781517 #487815 #157876 #451578
square
#781517 #487815 #157876 #451578
split-complementary
#781517 #157845 #154878
monochromatic
#1A0505 #440C0D #781517 #AC1E21 #DA2D31

Accessibility & contrast

On white

10.95
#781517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#781517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781517
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781517#FFFFFF#000000##FFFFFF
##7815171.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F16
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#850017
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #781517;
/* rgb */ color: rgb(120, 21, 23);
/* oklch */ color: oklch(37.4% 0.133 25.7);
Tailwind
colors: {
  custom: {
    50: '#a75d54',
    500: '#781517',
    950: '#000000',
  },
}
SCSS
$custom: #781517;
$custom-light: #a75d54;
$custom-dark: #000000;
JSON
{
  "hex": "#781517",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.13321,
    "h": 25.7
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#781517
secondary
#3BAEAB
accent
#EDE93B
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978

Preview Lab

Preview with #781517

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

Preview Lab → · Contrast checker → · Palette generator →

#781517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva