#7A2817#7A2817

#7A2817 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.118 H 33.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7A2817
RGBrgb(122, 40, 23)
HSLhsl(10, 68%, 28%)
HSVhsv(10, 81%, 48%)
CMYKcmyk(0%, 67.2%, 81.1%, 52.2%)
CIE-LABlab(28.69, 34.76, 29.72)
CIE-LCHlch(28.69, 45.73, 40.53°)
OKLaboklab(39.85% 0.0984 0.0651)
OKLCHoklch(39.85% 0.118 33.5)
XYZxyz(8.9405, 5.7183, 1.4434)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2817 #17697A
analogous
#7A1737 #7A2817 #7A5917
triadic
#7A2817 #177A28 #28177A
tetradic
#7A2817 #377A17 #17697A #59177A
square
#7A2817 #377A17 #17697A #59177A
split-complementary
#7A2817 #177A59 #17377A
monochromatic
#1A0805 #47170D #7A2817 #AD3921 #D94F33

Accessibility & contrast

On white

9.80
#7A2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2817
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2817#FFFFFF#000000##FFFFFF
##7A28171.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3814
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#871125
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2817;
/* rgb */ color: rgb(122, 40, 23);
/* oklch */ color: oklch(39.8% 0.118 33.5);
Tailwind
colors: {
  custom: {
    50: '#a86655',
    500: '#7a2817',
    950: '#000000',
  },
}
SCSS
$custom: #7a2817;
$custom-light: #a86655;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2817",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.11792,
    "h": 33.5
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#7A2817
secondary
#3E9CAF
accent
#CDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2817

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

Preview Lab → · Contrast checker → · Palette generator →

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