#7A2F2A#7A2F2A

#7A2F2A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.106 H 26.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7A2F2A
RGBrgb(122, 47, 42)
HSLhsl(4, 49%, 32%)
HSVhsv(4, 66%, 48%)
CMYKcmyk(0%, 61.5%, 65.6%, 52.2%)
CIE-LABlab(30.25, 32.36, 19.91)
CIE-LCHlch(30.25, 38.00, 31.60°)
OKLaboklab(41.11% 0.0949 0.0474)
OKLCHoklch(41.11% 0.106 26.6)
XYZxyz(9.4614, 6.3390, 2.9154)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F2A #2A757A
analogous
#7A2A4D #7A2F2A #7A572A
triadic
#7A2F2A #2A7A2F #2F2A7A
tetradic
#7A2F2A #4D7A2A #2A757A #572A7A
square
#7A2F2A #4D7A2A #2A757A #572A7A
split-complementary
#7A2F2A #2A7A57 #2A4D7A
monochromatic
#1F0C0B #4C1D1A #7A2F2A #A8413A #C65F59

Accessibility & contrast

On white

9.26
#7A2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F2A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F2A#FFFFFF#000000##FFFFFF
##7A2F2A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D29
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#86202E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f2a;
/* rgb */ color: rgb(122, 47, 42);
/* oklch */ color: oklch(41.1% 0.106 26.6);
Tailwind
colors: {
  custom: {
    50: '#a66b63',
    500: '#7a2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f2a;
$custom-light: #a66b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f2a",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 3.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.10605,
    "h": 26.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7A2F2A
secondary
#55A6AB
accent
#D0D84F
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7A2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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