#7C1E28#7C1E28

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

Color values

HEX#7C1E28
RGBrgb(124, 30, 40)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 76%, 49%)
CMYKcmyk(0%, 75.8%, 67.7%, 51.4%)
CIE-LABlab(27.76, 40.63, 18.14)
CIE-LCHlch(27.76, 44.49, 24.07°)
OKLaboklab(39.3% 0.1203 0.0431)
OKLCHoklch(39.3% 0.128 19.7)
XYZxyz(9.1604, 5.3682, 2.5609)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E28 #1E7C72
analogous
#7C1E57 #7C1E28 #7C431E
triadic
#7C1E28 #287C1E #1E287C
tetradic
#7C1E28 #577C1E #1E7C72 #431E7C
square
#7C1E28 #577C1E #1E7C72 #431E7C
split-complementary
#7C1E28 #1E7C43 #1E577C
monochromatic
#190608 #4B1218 #7C1E28 #AD2A38 #D14352

Accessibility & contrast

On white

10.13
#7C1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C1E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E28
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E28#FFFFFF#000000##FFFFFF
##7C1E281.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383528
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#890022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1e28;
/* rgb */ color: rgb(124, 30, 40);
/* oklch */ color: oklch(39.3% 0.128 19.7);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7c1e28',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e28;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e28",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.617,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.12783,
    "h": 19.7
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#7C1E28
secondary
#46AFA4
accent
#E4D344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7C1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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