#7A2F1C#7A2F1C

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

Color values

HEX#7A2F1C
RGBrgb(122, 47, 28)
HSLhsl(12, 63%, 29%)
HSVhsv(12, 77%, 48%)
CMYKcmyk(0%, 61.5%, 77%, 52.2%)
CIE-LABlab(30.05, 31.53, 28.27)
CIE-LCHlch(30.05, 42.35, 41.88°)
OKLaboklab(40.89% 0.0894 0.0633)
OKLCHoklch(40.89% 0.11 35.3)
XYZxyz(9.2531, 6.2557, 1.8186)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F1C #1C677A
analogous
#7A1C38 #7A2F1C #7A5E1C
triadic
#7A2F1C #1C7A2F #2F1C7A
tetradic
#7A2F1C #387A1C #1C677A #5E1C7A
square
#7A2F1C #387A1C #1C677A #5E1C7A
split-complementary
#7A2F1C #1C7A5E #1C387A
monochromatic
#190A06 #481C11 #7A2F1C #AC4227 #D35C3E

Accessibility & contrast

On white

9.33
#7A2F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F1C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F1C#FFFFFF#000000##FFFFFF
##7A2F1C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2f1c;
/* rgb */ color: rgb(122, 47, 28);
/* oklch */ color: oklch(40.9% 0.110 35.3);
Tailwind
colors: {
  custom: {
    50: '#a76a59',
    500: '#7a2f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f1c;
$custom-light: #a76a59;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f1c",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 12.128,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.10951,
    "h": 35.3
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#7A2F1C
secondary
#4498AE
accent
#C5E642
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7A2F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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