#7A2017#7A2017

#7A2017 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.126 H 29.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7A2017
RGBrgb(122, 32, 23)
HSLhsl(5, 68%, 28%)
HSVhsv(5, 81%, 48%)
CMYKcmyk(0%, 73.8%, 81.1%, 52.2%)
CIE-LABlab(27.39, 38.29, 28.38)
CIE-LCHlch(27.39, 47.66, 36.54°)
OKLaboklab(38.87% 0.1094 0.0621)
OKLCHoklch(38.87% 0.126 29.6)
XYZxyz(8.6982, 5.2338, 1.3627)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2017 #17717A
analogous
#7A173F #7A2017 #7A5117
triadic
#7A2017 #177A20 #20177A
tetradic
#7A2017 #3F7A17 #17717A #51177A
square
#7A2017 #3F7A17 #17717A #51177A
split-complementary
#7A2017 #177A51 #173F7A
monochromatic
#1A0705 #47120D #7A2017 #AD2E21 #D94233

Accessibility & contrast

On white

10.26
#7A2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2017
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2017#FFFFFF#000000##FFFFFF
##7A20171.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a2017;
/* rgb */ color: rgb(122, 32, 23);
/* oklch */ color: oklch(38.9% 0.126 29.6);
Tailwind
colors: {
  custom: {
    50: '#a86255',
    500: '#7a2017',
    950: '#000000',
  },
}
SCSS
$custom: #7a2017;
$custom-light: #a86255;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2017",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.455,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.12577,
    "h": 29.6
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#7A2017
secondary
#3EA5AF
accent
#DBEB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7A2017

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

Preview Lab → · Contrast checker → · Palette generator →

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