#7C251C#7C251C

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

Color values

HEX#7C251C
RGBrgb(124, 37, 28)
HSLhsl(6, 63%, 30%)
HSVhsv(6, 77%, 49%)
CMYKcmyk(0%, 70.2%, 77.4%, 51.4%)
CIE-LABlab(28.63, 37.09, 26.82)
CIE-LCHlch(28.63, 45.77, 35.87°)
OKLaboklab(39.89% 0.1064 0.06)
OKLCHoklch(39.89% 0.122 29.4)
XYZxyz(9.1844, 5.6934, 1.7137)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C251C #1C737C
analogous
#7C1C43 #7C251C #7C551C
triadic
#7C251C #1C7C25 #251C7C
tetradic
#7C251C #437C1C #1C737C #551C7C
square
#7C251C #437C1C #1C737C #551C7C
split-complementary
#7C251C #1C7C55 #1C437C
monochromatic
#190706 #4A1611 #7C251C #AE3427 #D44D3F

Accessibility & contrast

On white

9.82
#7C251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C251C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C251C#FFFFFF#000000##FFFFFF
##7C251C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E371A
Deuteranopia (green-blind)
#534B19
Tritanopia (blue-blind)
#890A24
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c251c;
/* rgb */ color: rgb(124, 37, 28);
/* oklch */ color: oklch(39.9% 0.122 29.4);
Tailwind
colors: {
  custom: {
    50: '#a96558',
    500: '#7c251c',
    950: '#000000',
  },
}
SCSS
$custom: #7c251c;
$custom-light: #a96558;
$custom-dark: #000000;
JSON
{
  "hex": "#7c251c",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.12221,
    "h": 29.4
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#7C251C
secondary
#44A6B0
accent
#D7E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C251C

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

Preview Lab → · Contrast checker → · Palette generator →

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