#7C271C#7C271C

#7C271C is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.120 H 30.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C271C
RGBrgb(124, 39, 28)
HSLhsl(7, 63%, 30%)
HSVhsv(7, 77%, 49%)
CMYKcmyk(0%, 68.5%, 77.4%, 51.4%)
CIE-LABlab(28.96, 36.19, 27.18)
CIE-LCHlch(28.96, 45.27, 36.91°)
OKLaboklab(40.14% 0.1036 0.0608)
OKLCHoklch(40.14% 0.12 30.4)
XYZxyz(9.2483, 5.8213, 1.7350)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C271C #1C717C
analogous
#7C1C41 #7C271C #7C571C
triadic
#7C271C #1C7C27 #271C7C
tetradic
#7C271C #417C1C #1C717C #571C7C
square
#7C271C #417C1C #1C717C #571C7C
split-complementary
#7C271C #1C7C57 #1C417C
monochromatic
#190806 #4A1711 #7C271C #AE3727 #D4503F

Accessibility & contrast

On white

9.70
#7C271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C271C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C271C#FFFFFF#000000##FFFFFF
##7C271C1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#890F25
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c271c;
/* rgb */ color: rgb(124, 39, 28);
/* oklch */ color: oklch(40.1% 0.120 30.4);
Tailwind
colors: {
  custom: {
    50: '#a96659',
    500: '#7c271c',
    950: '#000000',
  },
}
SCSS
$custom: #7c271c;
$custom-light: #a96659;
$custom-dark: #000000;
JSON
{
  "hex": "#7c271c",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 6.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.12016,
    "h": 30.4
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#7C271C
secondary
#44A3B0
accent
#D3E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C271C

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

Preview Lab → · Contrast checker → · Palette generator →

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