#7C1E27#7C1E27

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

Color values

HEX#7C1E27
RGBrgb(124, 30, 39)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 76%, 49%)
CMYKcmyk(0%, 75.8%, 68.5%, 51.4%)
CIE-LABlab(27.74, 40.56, 18.78)
CIE-LCHlch(27.74, 44.70, 24.84°)
OKLaboklab(39.28% 0.1199 0.0444)
OKLCHoklch(39.28% 0.128 20.3)
XYZxyz(9.1436, 5.3615, 2.4725)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E27 #1E7C73
analogous
#7C1E56 #7C1E27 #7C441E
triadic
#7C1E27 #277C1E #1E277C
tetradic
#7C1E27 #567C1E #1E7C73 #441E7C
square
#7C1E27 #567C1E #1E7C73 #441E7C
split-complementary
#7C1E27 #1E7C44 #1E567C
monochromatic
#190608 #4B1218 #7C1E27 #AD2A36 #D14351

Accessibility & contrast

On white

10.14
#7C1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E27
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E27#FFFFFF#000000##FFFFFF
##7C1E271.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383527
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#890022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1e27;
/* rgb */ color: rgb(124, 30, 39);
/* oklch */ color: oklch(39.3% 0.128 20.3);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7c1e27',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e27;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e27",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.255,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.12788,
    "h": 20.3
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#7C1E27
secondary
#46AFA5
accent
#E4D544
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7C1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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