#781F23#781F23

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

Color values

HEX#781F23
RGBrgb(120, 31, 35)
HSLhsl(357, 59%, 30%)
HSVhsv(357, 74%, 47%)
CMYKcmyk(0%, 74.2%, 70.8%, 52.9%)
CIE-LABlab(27.01, 38.58, 20.31)
CIE-LCHlch(27.01, 43.60, 27.77°)
OKLaboklab(38.57% 0.1132 0.0475)
OKLCHoklch(38.57% 0.123 22.7)
XYZxyz(8.5400, 5.0957, 2.1237)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F23 #1F7874
analogous
#781F50 #781F23 #78471F
triadic
#781F23 #23781F #1F2378
tetradic
#781F23 #50781F #1F7874 #471F78
square
#781F23 #50781F #1F7874 #471F78
split-complementary
#781F23 #1F7847 #1F5078
monochromatic
#180607 #471215 #781F23 #A92C31 #CE4349

Accessibility & contrast

On white

10.40
#781F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F23
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F23#FFFFFF#000000##FFFFFF
##781F231.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383422
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#840221
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f23;
/* rgb */ color: rgb(120, 31, 35);
/* oklch */ color: oklch(38.6% 0.123 22.7);
Tailwind
colors: {
  custom: {
    50: '#a5625d',
    500: '#781f23',
    950: '#000000',
  },
}
SCSS
$custom: #781f23;
$custom-light: #a5625d;
$custom-dark: #000000;
JSON
{
  "hex": "#781f23",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.303,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.12277,
    "h": 22.7
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#781F23
secondary
#47ABA7
accent
#E2DB46
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #781F23

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

Preview Lab → · Contrast checker → · Palette generator →

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