#7D242F#7D242F

#7D242F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.122 H 17.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7D242F
RGBrgb(125, 36, 47)
HSLhsl(353, 55%, 32%)
HSVhsv(353, 71%, 49%)
CMYKcmyk(0%, 71.2%, 62.4%, 51%)
CIE-LABlab(28.98, 39.01, 15.14)
CIE-LCHlch(28.98, 41.85, 21.20°)
OKLaboklab(40.29% 0.1165 0.0369)
OKLCHoklch(40.29% 0.122 17.6)
XYZxyz(9.6024, 5.8283, 3.3081)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D242F #247D72
analogous
#7D245C #7D242F #7D4624
triadic
#7D242F #2F7D24 #242F7D
tetradic
#7D242F #5C7D24 #247D72 #46247D
square
#7D242F #5C7D24 #247D72 #46247D
split-complementary
#7D242F #247D46 #245C7D
monochromatic
#1E090B #4D161D #7D242F #AD3241 #CC4F5F

Accessibility & contrast

On white

9.70
#7D242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D242F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D242F#FFFFFF#000000##FFFFFF
##7D242F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#890E29
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d242f;
/* rgb */ color: rgb(125, 36, 47);
/* oklch */ color: oklch(40.3% 0.122 17.6);
Tailwind
colors: {
  custom: {
    50: '#a86567',
    500: '#7d242f',
    950: '#000000',
  },
}
SCSS
$custom: #7d242f;
$custom-light: #a86567;
$custom-dark: #000000;
JSON
{
  "hex": "#7d242f",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 352.584,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.1222,
    "h": 17.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#7D242F
secondary
#4DAFA3
accent
#DFCC49
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D242F

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

Preview Lab → · Contrast checker → · Palette generator →

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