#781F30#781F30

#781F30 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.122 H 14.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#781F30
RGBrgb(120, 31, 48)
HSLhsl(349, 59%, 30%)
HSVhsv(349, 74%, 47%)
CMYKcmyk(0%, 74.2%, 60%, 52.9%)
CIE-LABlab(27.26, 39.46, 12.01)
CIE-LCHlch(27.26, 41.25, 16.93°)
OKLaboklab(38.84% 0.1188 0.0298)
OKLCHoklch(38.84% 0.122 14.1)
XYZxyz(8.7701, 5.1877, 3.3352)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F30 #1F7867
analogous
#781F5D #781F30 #783A1F
triadic
#781F30 #30781F #1F3078
tetradic
#781F30 #5D781F #1F7867 #3A1F78
square
#781F30 #5D781F #1F7867 #3A1F78
split-complementary
#781F30 #1F783A #1F5D78
monochromatic
#18060A #47121D #781F30 #A92C43 #CE435E

Accessibility & contrast

On white

10.31
#781F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F30
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F30#FFFFFF#000000##FFFFFF
##781F301.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363530
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#840826
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f30;
/* rgb */ color: rgb(120, 31, 48);
/* oklch */ color: oklch(38.8% 0.122 14.1);
Tailwind
colors: {
  custom: {
    50: '#a46268',
    500: '#781f30',
    950: '#000000',
  },
}
SCSS
$custom: #781f30;
$custom-light: #a46268;
$custom-dark: #000000;
JSON
{
  "hex": "#781f30",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 348.539,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.12243,
    "h": 14.1
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#781F30
secondary
#47AB98
accent
#E2C446
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781F30

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

Preview Lab → · Contrast checker → · Palette generator →

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