#7D251F#7D251F

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

Color values

HEX#7D251F
RGBrgb(125, 37, 31)
HSLhsl(4, 60%, 31%)
HSVhsv(4, 75%, 49%)
CMYKcmyk(0%, 70.4%, 75.2%, 51%)
CIE-LABlab(28.86, 37.60, 25.30)
CIE-LCHlch(28.86, 45.31, 33.93°)
OKLaboklab(40.11% 0.1086 0.0574)
OKLCHoklch(40.11% 0.123 27.9)
XYZxyz(9.3674, 5.7834, 1.9191)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D251F #1F777D
analogous
#7D1F48 #7D251F #7D541F
triadic
#7D251F #1F7D25 #251F7D
tetradic
#7D251F #487D1F #1F777D #541F7D
square
#7D251F #487D1F #1F777D #541F7D
split-complementary
#7D251F #1F7D54 #1F487D
monochromatic
#1B0807 #4C1613 #7D251F #AE342B #D14E45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D251F#FFFFFF#000000##FFFFFF
##7D251F1.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)
#3E381E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8A0A24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d251f;
/* rgb */ color: rgb(125, 37, 31);
/* oklch */ color: oklch(40.1% 0.123 27.9);
Tailwind
colors: {
  custom: {
    50: '#aa655b',
    500: '#7d251f',
    950: '#000000',
  },
}
SCSS
$custom: #7d251f;
$custom-light: #aa655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d251f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.12279,
    "h": 27.9
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#7D251F
secondary
#48A9B0
accent
#D9E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D251F

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

Preview Lab → · Contrast checker → · Palette generator →

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