#7D251A#7D251A

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

Color values

HEX#7D251A
RGBrgb(125, 37, 26)
HSLhsl(7, 66%, 30%)
HSVhsv(7, 79%, 49%)
CMYKcmyk(0%, 70.4%, 79.2%, 51%)
CIE-LABlab(28.80, 37.37, 28.26)
CIE-LCHlch(28.80, 46.85, 37.10°)
OKLaboklab(40.05% 0.1067 0.0626)
OKLCHoklch(40.05% 0.124 30.4)
XYZxyz(9.3065, 5.7591, 1.5987)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D251A #1A727D
analogous
#7D1A40 #7D251A #7D571A
triadic
#7D251A #1A7D25 #251A7D
tetradic
#7D251A #407D1A #1A727D #571A7D
square
#7D251A #407D1A #1A727D #571A7D
split-complementary
#7D251A #1A7D57 #1A407D
monochromatic
#190705 #4A160F #7D251A #B03425 #D64C3B

Accessibility & contrast

On white

9.76
#7D251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D251A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D251A#FFFFFF#000000##FFFFFF
##7D251A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3818
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8A0923
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d251a;
/* rgb */ color: rgb(125, 37, 26);
/* oklch */ color: oklch(40.0% 0.124 30.4);
Tailwind
colors: {
  custom: {
    50: '#aa6557',
    500: '#7d251a',
    950: '#000000',
  },
}
SCSS
$custom: #7d251a;
$custom-light: #aa6557;
$custom-dark: #000000;
JSON
{
  "hex": "#7d251a",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 6.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.12372,
    "h": 30.4
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#7D251A
secondary
#42A5B1
accent
#D6E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D251A

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

Preview Lab → · Contrast checker → · Palette generator →

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