#7D251C#7D251C

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

Color values

HEX#7D251C
RGBrgb(125, 37, 28)
HSLhsl(6, 63%, 30%)
HSVhsv(6, 78%, 49%)
CMYKcmyk(0%, 70.4%, 77.6%, 51%)
CIE-LABlab(28.82, 37.46, 27.09)
CIE-LCHlch(28.82, 46.22, 35.88°)
OKLaboklab(40.07% 0.1075 0.0606)
OKLCHoklch(40.07% 0.123 29.4)
XYZxyz(9.3297, 5.7683, 1.7205)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D251C #1C747D
analogous
#7D1C43 #7D251C #7D561C
triadic
#7D251C #1C7D25 #251C7D
tetradic
#7D251C #437D1C #1C747D #561C7D
square
#7D251C #437D1C #1C747D #561C7D
split-complementary
#7D251C #1C7D56 #1C437D
monochromatic
#190706 #4B1611 #7D251C #AF3427 #D44D3F

Accessibility & contrast

On white

9.75
#7D251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D251C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D251C#FFFFFF#000000##FFFFFF
##7D251C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#8A0924
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d251c;
/* rgb */ color: rgb(125, 37, 28);
/* oklch */ color: oklch(40.1% 0.123 29.4);
Tailwind
colors: {
  custom: {
    50: '#aa6559',
    500: '#7d251c',
    950: '#000000',
  },
}
SCSS
$custom: #7d251c;
$custom-light: #aa6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7d251c",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.567,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.12334,
    "h": 29.4
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#7D251C
secondary
#44A7B1
accent
#D7E641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D251C

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

Preview Lab → · Contrast checker → · Palette generator →

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