#781F25#781F25

#781F25 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.123 H 21.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#781F25
RGBrgb(120, 31, 37)
HSLhsl(356, 59%, 30%)
HSVhsv(356, 74%, 47%)
CMYKcmyk(0%, 74.2%, 69.2%, 52.9%)
CIE-LABlab(27.04, 38.70, 19.04)
CIE-LCHlch(27.04, 43.13, 26.20°)
OKLaboklab(38.6% 0.1141 0.0449)
OKLCHoklch(38.6% 0.123 21.5)
XYZxyz(8.5706, 5.1079, 2.2845)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F25 #1F7872
analogous
#781F52 #781F25 #78461F
triadic
#781F25 #25781F #1F2578
tetradic
#781F25 #52781F #1F7872 #461F78
square
#781F25 #52781F #1F7872 #461F78
split-complementary
#781F25 #1F7846 #1F5278
monochromatic
#180607 #471216 #781F25 #A92C34 #CE434C

Accessibility & contrast

On white

10.39
#781F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F25
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F25#FFFFFF#000000##FFFFFF
##781F251.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383425
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#840222
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f25;
/* rgb */ color: rgb(120, 31, 37);
/* oklch */ color: oklch(38.6% 0.123 21.5);
Tailwind
colors: {
  custom: {
    50: '#a5625f',
    500: '#781f25',
    950: '#000000',
  },
}
SCSS
$custom: #781f25;
$custom-light: #a5625f;
$custom-dark: #000000;
JSON
{
  "hex": "#781f25",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 355.955,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.12259,
    "h": 21.5
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#781F25
secondary
#47ABA5
accent
#E2D846
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #781F25

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

Preview Lab → · Contrast checker → · Palette generator →

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