#781F34#781F34

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

Color values

HEX#781F34
RGBrgb(120, 31, 52)
HSLhsl(346, 59%, 30%)
HSVhsv(346, 74%, 47%)
CMYKcmyk(0%, 74.2%, 56.7%, 52.9%)
CIE-LABlab(27.36, 39.79, 9.46)
CIE-LCHlch(27.36, 40.90, 13.37°)
OKLaboklab(38.94% 0.1205 0.0239)
OKLCHoklch(38.94% 0.123 11.2)
XYZxyz(8.8564, 5.2222, 3.7898)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F34 #1F7863
analogous
#781F60 #781F34 #78371F
triadic
#781F34 #34781F #1F3478
tetradic
#781F34 #60781F #1F7863 #371F78
square
#781F34 #60781F #1F7863 #371F78
split-complementary
#781F34 #1F7837 #1F6078
monochromatic
#18060B #47121F #781F34 #A92C49 #CE4364

Accessibility & contrast

On white

10.27
#781F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F34
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F34#FFFFFF#000000##FFFFFF
##781F341.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353534
Deuteranopia (green-blind)
#4C4732
Tritanopia (blue-blind)
#830A28
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f34;
/* rgb */ color: rgb(120, 31, 52);
/* oklch */ color: oklch(38.9% 0.123 11.2);
Tailwind
colors: {
  custom: {
    50: '#a4626b',
    500: '#781f34',
    950: '#000000',
  },
}
SCSS
$custom: #781f34;
$custom-light: #a4626b;
$custom-dark: #000000;
JSON
{
  "hex": "#781f34",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 345.843,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.12279,
    "h": 11.2
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#781F34
secondary
#47AB94
accent
#E2BD46
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781F34

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

Preview Lab → · Contrast checker → · Palette generator →

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