#7C2F17#7C2F17

#7C2F17 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.113 H 37.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7C2F17
RGBrgb(124, 47, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 81%, 49%)
CMYKcmyk(0%, 62.1%, 81.5%, 51.4%)
CIE-LABlab(30.35, 32.11, 31.53)
CIE-LCHlch(30.35, 45.00, 44.48°)
OKLaboklab(41.18% 0.0899 0.0688)
OKLCHoklch(41.18% 0.113 37.4)
XYZxyz(9.4844, 6.3813, 1.5427)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F17 #17647C
analogous
#7C1732 #7C2F17 #7C6217
triadic
#7C2F17 #177C2F #2F177C
tetradic
#7C2F17 #327C17 #17647C #62177C
square
#7C2F17 #327C17 #17647C #62177C
split-complementary
#7C2F17 #177C62 #17327C
monochromatic
#1A0A05 #481B0D #7C2F17 #B04321 #D95B34

Accessibility & contrast

On white

9.23
#7C2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F17
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F17#FFFFFF#000000##FFFFFF
##7C2F171.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#891C2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2f17;
/* rgb */ color: rgb(124, 47, 23);
/* oklch */ color: oklch(41.2% 0.113 37.4);
Tailwind
colors: {
  custom: {
    50: '#a96b56',
    500: '#7c2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f17;
$custom-light: #a96b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f17",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 14.257,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.11325,
    "h": 37.4
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#7C2F17
secondary
#3E96B1
accent
#C2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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