#7A2F2F#7A2F2F

#7A2F2F is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.105 H 22.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7A2F2F
RGBrgb(122, 47, 47)
HSLhsl(0, 44%, 33%)
HSVhsv(0, 61%, 48%)
CMYKcmyk(0%, 61.5%, 61.5%, 52.2%)
CIE-LABlab(30.34, 32.74, 16.82)
CIE-LCHlch(30.34, 36.81, 27.20°)
OKLaboklab(41.21% 0.097 0.0409)
OKLCHoklch(41.21% 0.105 22.9)
XYZxyz(9.5565, 6.3771, 3.4164)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F2F #2F7A7A
analogous
#7A2F54 #7A2F2F #7A542F
triadic
#7A2F2F #2F7A2F #2F2F7A
tetradic
#7A2F2F #547A2F #2F7A7A #542F7A
square
#7A2F2F #547A2F #2F7A7A #542F7A
split-complementary
#7A2F2F #2F7A54 #2F547A
monochromatic
#220D0D #4E1E1E #7A2F2F #A64040 #C26161

Accessibility & contrast

On white

9.23
#7A2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A2F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F2F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F2F#FFFFFF#000000##FFFFFF
##7A2F2F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2E
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#862130
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f2f;
/* rgb */ color: rgb(122, 47, 47);
/* oklch */ color: oklch(41.2% 0.105 22.9);
Tailwind
colors: {
  custom: {
    50: '#a56b67',
    500: '#7a2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f2f;
$custom-light: #a56b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f2f",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.10525,
    "h": 22.9
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#7A2F2F
secondary
#5CA9A9
accent
#D4D454
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7A2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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