#7C2017#7C2017

#7C2017 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.128 H 29.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7C2017
RGBrgb(124, 32, 23)
HSLhsl(5, 69%, 29%)
HSVhsv(5, 81%, 49%)
CMYKcmyk(0%, 74.2%, 81.5%, 51.4%)
CIE-LABlab(27.79, 38.99, 28.92)
CIE-LCHlch(27.79, 48.55, 36.56°)
OKLaboklab(39.25% 0.1113 0.0632)
OKLCHoklch(39.25% 0.128 29.6)
XYZxyz(8.9844, 5.3814, 1.3761)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2017 #17737C
analogous
#7C1741 #7C2017 #7C5317
triadic
#7C2017 #177C20 #20177C
tetradic
#7C2017 #417C17 #17737C #53177C
square
#7C2017 #417C17 #17737C #53177C
split-complementary
#7C2017 #177C53 #17417C
monochromatic
#1A0705 #48130D #7C2017 #B02D21 #D94334

Accessibility & contrast

On white

10.12
#7C2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2017
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2017#FFFFFF#000000##FFFFFF
##7C20171.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#89001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c2017;
/* rgb */ color: rgb(124, 32, 23);
/* oklch */ color: oklch(39.3% 0.128 29.6);
Tailwind
colors: {
  custom: {
    50: '#aa6255',
    500: '#7c2017',
    950: '#000000',
  },
}
SCSS
$custom: #7c2017;
$custom-light: #aa6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2017",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.347,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.12798,
    "h": 29.6
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#7C2017
secondary
#3EA7B1
accent
#DCEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7C2017

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

Preview Lab → · Contrast checker → · Palette generator →

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