#781727#781727

#781727 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.130 H 17.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#781727
RGBrgb(120, 23, 39)
HSLhsl(350, 68%, 28%)
HSVhsv(350, 81%, 47%)
CMYKcmyk(0%, 80.8%, 67.5%, 52.9%)
CIE-LABlab(26.02, 41.76, 16.43)
CIE-LCHlch(26.02, 44.87, 21.47°)
OKLaboklab(37.86% 0.1243 0.0393)
OKLCHoklch(37.86% 0.13 17.5)
XYZxyz(8.4192, 4.7536, 2.3933)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781727 #177868
analogous
#781757 #781727 #783717
triadic
#781727 #277817 #172778
tetradic
#781727 #577817 #177868 #371778
square
#781727 #577817 #177868 #371778
split-complementary
#781727 #177837 #175778
monochromatic
#1A0508 #450D16 #781727 #AB2138 #D8324D

Accessibility & contrast

On white

10.77
#781727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#781727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781727
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781727#FFFFFF#000000##FFFFFF
##7817271.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333127
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#84001E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781727;
/* rgb */ color: rgb(120, 23, 39);
/* oklch */ color: oklch(37.9% 0.130 17.5);
Tailwind
colors: {
  custom: {
    50: '#a65e60',
    500: '#781727',
    950: '#000000',
  },
}
SCSS
$custom: #781727;
$custom-light: #a65e60;
$custom-dark: #000000;
JSON
{
  "hex": "#781727",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 350.103,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.13036,
    "h": 17.5
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#781727
secondary
#3EAD9B
accent
#EBCE3D
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #781727

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

Preview Lab → · Contrast checker → · Palette generator →

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