#7A2417#7A2417

#7A2417 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.3% C 0.122 H 31.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7A2417
RGBrgb(122, 36, 23)
HSLhsl(8, 68%, 28%)
HSVhsv(8, 81%, 48%)
CMYKcmyk(0%, 70.5%, 81.1%, 52.2%)
CIE-LABlab(28.01, 36.59, 29.02)
CIE-LCHlch(28.01, 46.70, 38.42°)
OKLaboklab(39.34% 0.104 0.0635)
OKLCHoklch(39.34% 0.122 31.4)
XYZxyz(8.8126, 5.4625, 1.4008)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2417 #176D7A
analogous
#7A173B #7A2417 #7A5517
triadic
#7A2417 #177A24 #24177A
tetradic
#7A2417 #3B7A17 #176D7A #55177A
square
#7A2417 #3B7A17 #176D7A #55177A
split-complementary
#7A2417 #177A55 #173B7A
monochromatic
#1A0805 #47150D #7A2417 #AD3321 #D94933

Accessibility & contrast

On white

10.04
#7A2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2417
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2417#FFFFFF#000000##FFFFFF
##7A24171.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#870822
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2417;
/* rgb */ color: rgb(122, 36, 23);
/* oklch */ color: oklch(39.3% 0.122 31.4);
Tailwind
colors: {
  custom: {
    50: '#a86455',
    500: '#7a2417',
    950: '#000000',
  },
}
SCSS
$custom: #7a2417;
$custom-light: #a86455;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2417",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.879,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.1219,
    "h": 31.4
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7A2417
secondary
#3EA0AF
accent
#D4EB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2417

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

Preview Lab → · Contrast checker → · Palette generator →

#7A2417 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva