#782230#782230

#782230 is a dark, moderate red. Relative luminance 0.054; OKLCH L 39.2% C 0.119 H 15.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#782230
RGBrgb(120, 34, 48)
HSLhsl(350, 56%, 30%)
HSVhsv(350, 72%, 47%)
CMYKcmyk(0%, 71.7%, 60%, 52.9%)
CIE-LABlab(27.71, 38.22, 12.62)
CIE-LCHlch(27.71, 40.25, 18.27°)
OKLaboklab(39.18% 0.1148 0.0312)
OKLCHoklch(39.18% 0.119 15.2)
XYZxyz(8.8521, 5.3517, 3.3626)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782230 #22786A
analogous
#78225B #782230 #783F22
triadic
#782230 #307822 #223078
tetradic
#782230 #5B7822 #22786A #3F2278
square
#782230 #5B7822 #22786A #3F2278
split-complementary
#782230 #22783F #225B78
monochromatic
#19070A #48141D #782230 #A83043 #CB495E

Accessibility & contrast

On white

10.14
#782230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#782230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782230
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782230#FFFFFF#000000##FFFFFF
##7822301.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383630
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#840E28
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782230;
/* rgb */ color: rgb(120, 34, 48);
/* oklch */ color: oklch(39.2% 0.119 15.2);
Tailwind
colors: {
  custom: {
    50: '#a46368',
    500: '#782230',
    950: '#000000',
  },
}
SCSS
$custom: #782230;
$custom-light: #a46368;
$custom-dark: #000000;
JSON
{
  "hex": "#782230",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 350.233,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.11894,
    "h": 15.2
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#782230
secondary
#4BAB9B
accent
#DFC749
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782230

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

Preview Lab → · Contrast checker → · Palette generator →

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