#7D261F#7D261F

#7D261F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.122 H 28.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7D261F
RGBrgb(125, 38, 31)
HSLhsl(4, 60%, 31%)
HSVhsv(4, 75%, 49%)
CMYKcmyk(0%, 69.6%, 75.2%, 51%)
CIE-LABlab(29.02, 37.16, 25.48)
CIE-LCHlch(29.02, 45.05, 34.44°)
OKLaboklab(40.24% 0.1072 0.0578)
OKLCHoklch(40.24% 0.122 28.3)
XYZxyz(9.3989, 5.8465, 1.9296)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D261F #1F767D
analogous
#7D1F47 #7D261F #7D551F
triadic
#7D261F #1F7D26 #261F7D
tetradic
#7D261F #477D1F #1F767D #551F7D
square
#7D261F #477D1F #1F767D #551F7D
split-complementary
#7D261F #1F7D55 #1F477D
monochromatic
#1B0807 #4C1713 #7D261F #AE352B #D15045

Accessibility & contrast

On white

9.68
#7D261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D261F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D261F#FFFFFF#000000##FFFFFF
##7D261F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8A0D25
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d261f;
/* rgb */ color: rgb(125, 38, 31);
/* oklch */ color: oklch(40.2% 0.122 28.3);
Tailwind
colors: {
  custom: {
    50: '#a9665b',
    500: '#7d261f',
    950: '#000000',
  },
}
SCSS
$custom: #7d261f;
$custom-light: #a9665b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d261f",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.468,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.12175,
    "h": 28.3
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#7D261F
secondary
#48A8B0
accent
#D8E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D261F

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

Preview Lab → · Contrast checker → · Palette generator →

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