#7D251E#7D251E

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

Color values

HEX#7D251E
RGBrgb(125, 37, 30)
HSLhsl(4, 61%, 30%)
HSVhsv(4, 76%, 49%)
CMYKcmyk(0%, 70.4%, 76%, 51%)
CIE-LABlab(28.85, 37.55, 25.90)
CIE-LCHlch(28.85, 45.61, 34.59°)
OKLaboklab(40.1% 0.1082 0.0585)
OKLCHoklch(40.1% 0.123 28.4)
XYZxyz(9.3544, 5.7782, 1.8508)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D251E #1E767D
analogous
#7D1E46 #7D251E #7D541E
triadic
#7D251E #1E7D25 #251E7D
tetradic
#7D251E #467D1E #1E767D #541E7D
square
#7D251E #467D1E #1E767D #541E7D
split-complementary
#7D251E #1E7D54 #1E467D
monochromatic
#1A0806 #4C1612 #7D251E #AE342A #D24E43

Accessibility & contrast

On white

9.74
#7D251E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D251E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D251E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D251E#FFFFFF#000000##FFFFFF
##7D251E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8A0A24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d251e;
/* rgb */ color: rgb(125, 37, 30);
/* oklch */ color: oklch(40.1% 0.123 28.4);
Tailwind
colors: {
  custom: {
    50: '#aa655a',
    500: '#7d251e',
    950: '#000000',
  },
}
SCSS
$custom: #7d251e;
$custom-light: #aa655a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d251e",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 4.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.401,
    "c": 0.12297,
    "h": 28.4
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#7D251E
secondary
#46A9B0
accent
#D9E443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D251E

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

Preview Lab → · Contrast checker → · Palette generator →

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