#7A2F26#7A2F26

#7A2F26 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.107 H 29.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7A2F26
RGBrgb(122, 47, 38)
HSLhsl(6, 53%, 31%)
HSVhsv(6, 69%, 48%)
CMYKcmyk(0%, 61.5%, 68.9%, 52.2%)
CIE-LABlab(30.19, 32.09, 22.36)
CIE-LCHlch(30.19, 39.11, 34.86°)
OKLaboklab(41.04% 0.0932 0.0524)
OKLCHoklch(41.04% 0.107 29.3)
XYZxyz(9.3933, 6.3118, 2.5570)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F26 #26717A
analogous
#7A2647 #7A2F26 #7A5926
triadic
#7A2F26 #267A2F #2F267A
tetradic
#7A2F26 #477A26 #26717A #59267A
square
#7A2F26 #477A26 #26717A #59267A
split-complementary
#7A2F26 #267A59 #26477A
monochromatic
#1D0B09 #4B1D17 #7A2F26 #A94135 #C95E51

Accessibility & contrast

On white

9.28
#7A2F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A2F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F26
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F26#FFFFFF#000000##FFFFFF
##7A2F261.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D25
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#861F2D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f26;
/* rgb */ color: rgb(122, 47, 38);
/* oklch */ color: oklch(41.0% 0.107 29.3);
Tailwind
colors: {
  custom: {
    50: '#a66b60',
    500: '#7a2f26',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f26;
$custom-light: #a66b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f26",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 6.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.10689,
    "h": 29.3
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7A2F26
secondary
#50A2AC
accent
#CCDC4C
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7A2F26

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

Preview Lab → · Contrast checker → · Palette generator →

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