#7A261F#7A261F

#7A261F is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.7% C 0.118 H 28.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7A261F
RGBrgb(122, 38, 31)
HSLhsl(5, 59%, 30%)
HSVhsv(5, 75%, 48%)
CMYKcmyk(0%, 68.9%, 74.6%, 52.2%)
CIE-LABlab(28.44, 36.06, 24.67)
CIE-LCHlch(28.44, 43.68, 34.38°)
OKLaboklab(39.7% 0.1041 0.0562)
OKLCHoklch(39.7% 0.118 28.4)
XYZxyz(8.9674, 5.6240, 1.9094)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A261F #1F737A
analogous
#7A1F46 #7A261F #7A531F
triadic
#7A261F #1F7A26 #261F7A
tetradic
#7A261F #467A1F #1F737A #531F7A
square
#7A261F #467A1F #1F737A #531F7A
split-complementary
#7A261F #1F7A53 #1F467A
monochromatic
#180806 #491713 #7A261F #AB352B #CF4F44

Accessibility & contrast

On white

9.88
#7A261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A261F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A261F#FFFFFF#000000##FFFFFF
##7A261F1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D381E
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#870F25
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a261f;
/* rgb */ color: rgb(122, 38, 31);
/* oklch */ color: oklch(39.7% 0.118 28.4);
Tailwind
colors: {
  custom: {
    50: '#a7655b',
    500: '#7a261f',
    950: '#000000',
  },
}
SCSS
$custom: #7a261f;
$custom-light: #a7655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a261f",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.615,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.11829,
    "h": 28.4
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#7A261F
secondary
#47A6AD
accent
#D7E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A261F

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

Preview Lab → · Contrast checker → · Palette generator →

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