#781F33#781F33

#781F33 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.123 H 11.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#781F33
RGBrgb(120, 31, 51)
HSLhsl(347, 59%, 30%)
HSVhsv(347, 74%, 47%)
CMYKcmyk(0%, 74.2%, 57.5%, 52.9%)
CIE-LABlab(27.33, 39.70, 10.09)
CIE-LCHlch(27.33, 40.97, 14.27°)
OKLaboklab(38.92% 0.12 0.0254)
OKLCHoklch(38.92% 0.123 11.9)
XYZxyz(8.8341, 5.2133, 3.6724)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F33 #1F7864
analogous
#781F60 #781F33 #78381F
triadic
#781F33 #33781F #1F3378
tetradic
#781F33 #60781F #1F7864 #381F78
square
#781F33 #60781F #1F7864 #381F78
split-complementary
#781F33 #1F7838 #1F6078
monochromatic
#18060A #47121E #781F33 #A92C48 #CE4362

Accessibility & contrast

On white

10.28
#781F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F33
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F33#FFFFFF#000000##FFFFFF
##781F331.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363533
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#830A27
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f33;
/* rgb */ color: rgb(120, 31, 51);
/* oklch */ color: oklch(38.9% 0.123 11.9);
Tailwind
colors: {
  custom: {
    50: '#a4626a',
    500: '#781f33',
    950: '#000000',
  },
}
SCSS
$custom: #781f33;
$custom-light: #a4626a;
$custom-dark: #000000;
JSON
{
  "hex": "#781f33",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 346.517,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.12268,
    "h": 11.9
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#781F33
secondary
#47AB95
accent
#E2BF46
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781F33

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

Preview Lab → · Contrast checker → · Palette generator →

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