#781C28#781C28

#781C28 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.3% C 0.126 H 18.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#781C28
RGBrgb(120, 28, 40)
HSLhsl(352, 62%, 29%)
HSVhsv(352, 77%, 47%)
CMYKcmyk(0%, 76.7%, 66.7%, 52.9%)
CIE-LABlab(26.67, 40.06, 16.59)
CIE-LCHlch(26.67, 43.36, 22.50°)
OKLaboklab(38.35% 0.1191 0.0398)
OKLCHoklch(38.35% 0.126 18.5)
XYZxyz(8.5449, 4.9780, 2.5180)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C28 #1C786C
analogous
#781C56 #781C28 #783E1C
triadic
#781C28 #28781C #1C2878
tetradic
#781C28 #56781C #1C786C #3E1C78
square
#781C28 #56781C #1C786C #3E1C78
split-complementary
#781C28 #1C783E #1C5678
monochromatic
#190608 #461017 #781C28 #AA2839 #D23D50

Accessibility & contrast

On white

10.52
#781C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C28
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C28#FFFFFF#000000##FFFFFF
##781C281.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c28;
/* rgb */ color: rgb(120, 28, 40);
/* oklch */ color: oklch(38.3% 0.126 18.5);
Tailwind
colors: {
  custom: {
    50: '#a56061',
    500: '#781c28',
    950: '#000000',
  },
}
SCSS
$custom: #781c28;
$custom-light: #a56061;
$custom-dark: #000000;
JSON
{
  "hex": "#781c28",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 352.174,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.12553,
    "h": 18.5
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#781C28
secondary
#44AC9E
accent
#E5D043
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781C28

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

Preview Lab → · Contrast checker → · Palette generator →

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