#7A251C#7A251C

#7A251C is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.5% C 0.120 H 29.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A251C
RGBrgb(122, 37, 28)
HSLhsl(6, 63%, 29%)
HSVhsv(6, 77%, 48%)
CMYKcmyk(0%, 69.7%, 77%, 52.2%)
CIE-LABlab(28.24, 36.36, 26.28)
CIE-LCHlch(28.24, 44.86, 35.86°)
OKLaboklab(39.53% 0.1044 0.059)
OKLCHoklch(39.53% 0.12 29.5)
XYZxyz(8.8982, 5.5459, 1.7003)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A251C #1C717A
analogous
#7A1C42 #7A251C #7A541C
triadic
#7A251C #1C7A25 #251C7A
tetradic
#7A251C #427A1C #1C717A #541C7A
square
#7A251C #427A1C #1C717A #541C7A
split-complementary
#7A251C #1C7A54 #1C427A
monochromatic
#190806 #481611 #7A251C #AC3427 #D34C3E

Accessibility & contrast

On white

9.96
#7A251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A251C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A251C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A251C#FFFFFF#000000##FFFFFF
##7A251C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371A
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#870C24
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a251c;
/* rgb */ color: rgb(122, 37, 28);
/* oklch */ color: oklch(39.5% 0.120 29.5);
Tailwind
colors: {
  custom: {
    50: '#a76558',
    500: '#7a251c',
    950: '#000000',
  },
}
SCSS
$custom: #7a251c;
$custom-light: #a76558;
$custom-dark: #000000;
JSON
{
  "hex": "#7a251c",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.745,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.11991,
    "h": 29.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7A251C
secondary
#44A4AE
accent
#D6E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A251C

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

Preview Lab → · Contrast checker → · Palette generator →

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