#7D261B#7D261B

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

Color values

HEX#7D261B
RGBrgb(125, 38, 27)
HSLhsl(7, 64%, 30%)
HSVhsv(7, 78%, 49%)
CMYKcmyk(0%, 69.6%, 78.4%, 51%)
CIE-LABlab(28.97, 36.97, 27.85)
CIE-LCHlch(28.97, 46.29, 37.00°)
OKLaboklab(40.18% 0.1057 0.062)
OKLCHoklch(40.18% 0.123 30.4)
XYZxyz(9.3494, 5.8267, 1.6691)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D261B #1B727D
analogous
#7D1B41 #7D261B #7D571B
triadic
#7D261B #1B7D26 #261B7D
tetradic
#7D261B #417D1B #1B727D #571B7D
square
#7D261B #417D1B #1B727D #571B7D
split-complementary
#7D261B #1B7D57 #1B417D
monochromatic
#190805 #4B1710 #7D261B #AF3526 #D54E3D

Accessibility & contrast

On white

9.70
#7D261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D261B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D261B#FFFFFF#000000##FFFFFF
##7D261B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#8A0C24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d261b;
/* rgb */ color: rgb(125, 38, 27);
/* oklch */ color: oklch(40.2% 0.123 30.4);
Tailwind
colors: {
  custom: {
    50: '#aa6658',
    500: '#7d261b',
    950: '#000000',
  },
}
SCSS
$custom: #7d261b;
$custom-light: #aa6658;
$custom-dark: #000000;
JSON
{
  "hex": "#7d261b",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 6.735,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.12253,
    "h": 30.4
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#7D261B
secondary
#43A5B1
accent
#D5E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D261B

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

Preview Lab → · Contrast checker → · Palette generator →

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