#782237#782237

#782237 is a dark, moderate red. Relative luminance 0.054; OKLCH L 39.4% C 0.120 H 10.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#782237
RGBrgb(120, 34, 55)
HSLhsl(345, 56%, 30%)
HSVhsv(345, 72%, 47%)
CMYKcmyk(0%, 71.7%, 54.2%, 52.9%)
CIE-LABlab(27.88, 38.81, 8.17)
CIE-LCHlch(27.88, 39.66, 11.89°)
OKLaboklab(39.36% 0.1178 0.0209)
OKLCHoklch(39.36% 0.12 10)
XYZxyz(9.0081, 5.4142, 4.1844)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782237 #227863
analogous
#782262 #782237 #783822
triadic
#782237 #377822 #223778
tetradic
#782237 #627822 #227863 #382278
square
#782237 #627822 #227863 #382278
split-complementary
#782237 #227838 #226278
monochromatic
#19070B #481421 #782237 #A8304D #CB4969

Accessibility & contrast

On white

10.08
#782237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#782237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782237
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782237#FFFFFF#000000##FFFFFF
##7822371.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373737
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#83112A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #782237;
/* rgb */ color: rgb(120, 34, 55);
/* oklch */ color: oklch(39.4% 0.120 10.0);
Tailwind
colors: {
  custom: {
    50: '#a4646d',
    500: '#782237',
    950: '#000000',
  },
}
SCSS
$custom: #782237;
$custom-light: #a4646d;
$custom-dark: #000000;
JSON
{
  "hex": "#782237",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 345.349,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.11958,
    "h": 10
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#782237
secondary
#4BAB93
accent
#DFBA49
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782237

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

Preview Lab → · Contrast checker → · Palette generator →

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