#782830#782830

#782830 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.112 H 17.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#782830
RGBrgb(120, 40, 48)
HSLhsl(354, 50%, 31%)
HSVhsv(354, 67%, 47%)
CMYKcmyk(0%, 66.7%, 60%, 52.9%)
CIE-LABlab(28.71, 35.52, 13.95)
CIE-LCHlch(28.71, 38.16, 21.44°)
OKLaboklab(39.92% 0.1062 0.0343)
OKLCHoklch(39.92% 0.112 17.9)
XYZxyz(9.0388, 5.7252, 3.4248)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782830 #287870
analogous
#782858 #782830 #784828
triadic
#782830 #307828 #283078
tetradic
#782830 #587828 #287870 #482878
square
#782830 #587828 #287870 #482878
split-complementary
#782830 #287848 #285878
monochromatic
#1C090B #4A191E #782830 #A63742 #C65460

Accessibility & contrast

On white

9.79
#782830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#782830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782830
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782830#FFFFFF#000000##FFFFFF
##7828301.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3930
Deuteranopia (green-blind)
#504A2E
Tritanopia (blue-blind)
#84182B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782830;
/* rgb */ color: rgb(120, 40, 48);
/* oklch */ color: oklch(39.9% 0.112 17.9);
Tailwind
colors: {
  custom: {
    50: '#a46768',
    500: '#782830',
    950: '#000000',
  },
}
SCSS
$custom: #782830;
$custom-light: #a46768;
$custom-dark: #000000;
JSON
{
  "hex": "#782830",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 354,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.11159,
    "h": 17.9
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#782830
secondary
#52AAA1
accent
#DACC4E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782830

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

Preview Lab → · Contrast checker → · Palette generator →

#782830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva