#7D262F#7D262F

#7D262F is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.5% C 0.120 H 18.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7D262F
RGBrgb(125, 38, 47)
HSLhsl(354, 53%, 32%)
HSVhsv(354, 70%, 49%)
CMYKcmyk(0%, 69.6%, 62.4%, 51%)
CIE-LABlab(29.29, 38.14, 15.55)
CIE-LCHlch(29.29, 41.19, 22.18°)
OKLaboklab(40.53% 0.1137 0.0379)
OKLCHoklch(40.53% 0.12 18.4)
XYZxyz(9.6646, 5.9528, 3.3289)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D262F #267D74
analogous
#7D265B #7D262F #7D4926
triadic
#7D262F #2F7D26 #262F7D
tetradic
#7D262F #5B7D26 #267D74 #49267D
square
#7D262F #5B7D26 #267D74 #49267D
split-complementary
#7D262F #267D49 #265B7D
monochromatic
#1F090C #4E181D #7D262F #AC3441 #CB535F

Accessibility & contrast

On white

9.59
#7D262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D262F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D262F#FFFFFF#000000##FFFFFF
##7D262F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#89122A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d262f;
/* rgb */ color: rgb(125, 38, 47);
/* oklch */ color: oklch(40.5% 0.120 18.4);
Tailwind
colors: {
  custom: {
    50: '#a86667',
    500: '#7d262f',
    950: '#000000',
  },
}
SCSS
$custom: #7d262f;
$custom-light: #a86667;
$custom-dark: #000000;
JSON
{
  "hex": "#7d262f",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 353.793,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.11987,
    "h": 18.4
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#7D262F
secondary
#50AFA5
accent
#DDCE4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D262F

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

Preview Lab → · Contrast checker → · Palette generator →

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