#7C2028#7C2028

#7C2028 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.126 H 20.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7C2028
RGBrgb(124, 32, 40)
HSLhsl(355, 59%, 31%)
HSVhsv(355, 74%, 49%)
CMYKcmyk(0%, 74.2%, 67.7%, 51.4%)
CIE-LABlab(28.04, 39.85, 18.50)
CIE-LCHlch(28.04, 43.93, 24.91°)
OKLaboklab(39.51% 0.1178 0.0439)
OKLCHoklch(39.51% 0.126 20.5)
XYZxyz(9.2127, 5.4727, 2.5783)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2028 #207C74
analogous
#7C2056 #7C2028 #7C4620
triadic
#7C2028 #287C20 #20287C
tetradic
#7C2028 #567C20 #207C74 #46207C
square
#7C2028 #567C20 #207C74 #46207C
split-complementary
#7C2028 #207C46 #20567C
monochromatic
#1B0709 #4B1318 #7C2028 #AD2D38 #CF4753

Accessibility & contrast

On white

10.03
#7C2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7C2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2028
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2028#FFFFFF#000000##FFFFFF
##7C20281.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#514925
Tritanopia (blue-blind)
#880324
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c2028;
/* rgb */ color: rgb(124, 32, 40);
/* oklch */ color: oklch(39.5% 0.126 20.5);
Tailwind
colors: {
  custom: {
    50: '#a86361',
    500: '#7c2028',
    950: '#000000',
  },
}
SCSS
$custom: #7c2028;
$custom-light: #a86361;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2028",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 354.783,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.12576,
    "h": 20.5
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7C2028
secondary
#49AFA6
accent
#E2D546
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7C2028

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

Preview Lab → · Contrast checker → · Palette generator →

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