#781B27#781B27

#781B27 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.127 H 18.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#781B27
RGBrgb(120, 27, 39)
HSLhsl(352, 63%, 29%)
HSVhsv(352, 78%, 47%)
CMYKcmyk(0%, 77.5%, 67.5%, 52.9%)
CIE-LABlab(26.52, 40.37, 17.06)
CIE-LCHlch(26.52, 43.82, 22.91°)
OKLaboklab(38.23% 0.1198 0.0407)
OKLCHoklch(38.23% 0.127 18.8)
XYZxyz(8.5048, 4.9247, 2.4218)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B27 #1B786C
analogous
#781B56 #781B27 #783E1B
triadic
#781B27 #27781B #1B2778
tetradic
#781B27 #56781B #1B786C #3E1B78
square
#781B27 #56781B #1B786C #3E1B78
split-complementary
#781B27 #1B783E #1B5678
monochromatic
#190608 #461017 #781B27 #AA2637 #D33B4E

Accessibility & contrast

On white

10.58
#781B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B27
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B27#FFFFFF#000000##FFFFFF
##781B271.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781b27;
/* rgb */ color: rgb(120, 27, 39);
/* oklch */ color: oklch(38.2% 0.127 18.8);
Tailwind
colors: {
  custom: {
    50: '#a56060',
    500: '#781b27',
    950: '#000000',
  },
}
SCSS
$custom: #781b27;
$custom-light: #a56060;
$custom-dark: #000000;
JSON
{
  "hex": "#781b27",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 352.258,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.12657,
    "h": 18.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#781B27
secondary
#43AC9F
accent
#E6D141
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781B27

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

Preview Lab → · Contrast checker → · Palette generator →

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