#7C251A#7C251A

#7C251A is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.123 H 30.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7C251A
RGBrgb(124, 37, 26)
HSLhsl(7, 65%, 29%)
HSVhsv(7, 79%, 49%)
CMYKcmyk(0%, 70.2%, 79%, 51.4%)
CIE-LABlab(28.60, 37.00, 28.00)
CIE-LCHlch(28.60, 46.40, 37.11°)
OKLaboklab(39.87% 0.1057 0.0621)
OKLCHoklch(39.87% 0.123 30.4)
XYZxyz(9.1612, 5.6842, 1.5918)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C251A #1A717C
analogous
#7C1A40 #7C251A #7C561A
triadic
#7C251A #1A7C25 #251A7C
tetradic
#7C251A #407C1A #1A717C #561A7C
square
#7C251A #407C1A #1A717C #561A7C
split-complementary
#7C251A #1A7C56 #1A407C
monochromatic
#190805 #49160F #7C251A #AF3425 #D64C3B

Accessibility & contrast

On white

9.83
#7C251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C251A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C251A#FFFFFF#000000##FFFFFF
##7C251A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#544A17
Tritanopia (blue-blind)
#890A23
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c251a;
/* rgb */ color: rgb(124, 37, 26);
/* oklch */ color: oklch(39.9% 0.123 30.4);
Tailwind
colors: {
  custom: {
    50: '#a96557',
    500: '#7c251a',
    950: '#000000',
  },
}
SCSS
$custom: #7c251a;
$custom-light: #a96557;
$custom-dark: #000000;
JSON
{
  "hex": "#7c251a",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 6.735,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39865,
    "c": 0.12258,
    "h": 30.4
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#7C251A
secondary
#42A4B0
accent
#D5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C251A

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

Preview Lab → · Contrast checker → · Palette generator →

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