#781F28#781F28

#781F28 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.122 H 19.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#781F28
RGBrgb(120, 31, 40)
HSLhsl(354, 59%, 30%)
HSVhsv(354, 74%, 47%)
CMYKcmyk(0%, 74.2%, 66.7%, 52.9%)
CIE-LABlab(27.09, 38.89, 17.13)
CIE-LCHlch(27.09, 42.49, 23.78°)
OKLaboklab(38.66% 0.1153 0.041)
OKLCHoklch(38.66% 0.122 19.6)
XYZxyz(8.6196, 5.1275, 2.5429)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F28 #1F786F
analogous
#781F54 #781F28 #78431F
triadic
#781F28 #28781F #1F2878
tetradic
#781F28 #54781F #1F786F #431F78
square
#781F28 #54781F #1F786F #431F78
split-complementary
#781F28 #1F7843 #1F5478
monochromatic
#180608 #471218 #781F28 #A92C38 #CE4351

Accessibility & contrast

On white

10.37
#781F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F28
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F28#FFFFFF#000000##FFFFFF
##781F281.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#840423
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f28;
/* rgb */ color: rgb(120, 31, 40);
/* oklch */ color: oklch(38.7% 0.122 19.6);
Tailwind
colors: {
  custom: {
    50: '#a56261',
    500: '#781f28',
    950: '#000000',
  },
}
SCSS
$custom: #781f28;
$custom-light: #a56261;
$custom-dark: #000000;
JSON
{
  "hex": "#781f28",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 353.933,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.12239,
    "h": 19.6
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#781F28
secondary
#47ABA1
accent
#E2D246
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781F28

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

Preview Lab → · Contrast checker → · Palette generator →

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