#7A2F1A#7A2F1A

#7A2F1A is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.110 H 36.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7A2F1A
RGBrgb(122, 47, 26)
HSLhsl(13, 65%, 29%)
HSVhsv(13, 79%, 48%)
CMYKcmyk(0%, 61.5%, 78.7%, 52.2%)
CIE-LABlab(30.03, 31.43, 29.40)
CIE-LCHlch(30.03, 43.04, 43.08°)
OKLaboklab(40.87% 0.0887 0.0652)
OKLCHoklch(40.87% 0.11 36.3)
XYZxyz(9.2300, 6.2464, 1.6967)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F1A #1A657A
analogous
#7A1A35 #7A2F1A #7A5F1A
triadic
#7A2F1A #1A7A2F #2F1A7A
tetradic
#7A2F1A #357A1A #1A657A #5F1A7A
square
#7A2F1A #357A1A #1A657A #5F1A7A
split-complementary
#7A2F1A #1A7A5F #1A357A
monochromatic
#190A05 #481C0F #7A2F1A #AC4225 #D55B39

Accessibility & contrast

On white

9.34
#7A2F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F1A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F1A#FFFFFF#000000##FFFFFF
##7A2F1A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C17
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#861E2B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f1a;
/* rgb */ color: rgb(122, 47, 26);
/* oklch */ color: oklch(40.9% 0.110 36.3);
Tailwind
colors: {
  custom: {
    50: '#a76a58',
    500: '#7a2f1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f1a;
$custom-light: #a76a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f1a",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 26
  },
  "hsl": {
    "h": 13.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.11008,
    "h": 36.3
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#7A2F1A
secondary
#4197AE
accent
#C3E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7A2F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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