#7A2F17#7A2F17

#7A2F17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.8% C 0.111 H 37.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7A2F17
RGBrgb(122, 47, 23)
HSLhsl(15, 68%, 28%)
HSVhsv(15, 81%, 48%)
CMYKcmyk(0%, 61.5%, 81.1%, 52.2%)
CIE-LABlab(29.99, 31.30, 31.05)
CIE-LCHlch(29.99, 44.09, 44.76°)
OKLaboklab(40.83% 0.0877 0.0679)
OKLCHoklch(40.83% 0.111 37.8)
XYZxyz(9.1982, 6.2337, 1.5293)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F17 #17627A
analogous
#7A1731 #7A2F17 #7A6017
triadic
#7A2F17 #177A2F #2F177A
tetradic
#7A2F17 #317A17 #17627A #60177A
square
#7A2F17 #317A17 #17627A #60177A
split-complementary
#7A2F17 #177A60 #17317A
monochromatic
#1A0A05 #471B0D #7A2F17 #AD4321 #D95B33

Accessibility & contrast

On white

9.35
#7A2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F17
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F17#FFFFFF#000000##FFFFFF
##7A2F171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#871D2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f17;
/* rgb */ color: rgb(122, 47, 23);
/* oklch */ color: oklch(40.8% 0.111 37.8);
Tailwind
colors: {
  custom: {
    50: '#a76a56',
    500: '#7a2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f17;
$custom-light: #a76a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f17",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 14.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.11091,
    "h": 37.8
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#7A2F17
secondary
#3E94AF
accent
#C1EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7A2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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