#7C2227#7C2227

#7C2227 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.124 H 21.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C2227
RGBrgb(124, 34, 39)
HSLhsl(357, 57%, 31%)
HSVhsv(357, 73%, 49%)
CMYKcmyk(0%, 72.6%, 68.5%, 51.4%)
CIE-LABlab(28.32, 38.97, 19.50)
CIE-LCHlch(28.32, 43.58, 26.59°)
OKLaboklab(39.71% 0.1148 0.0461)
OKLCHoklch(39.71% 0.124 21.9)
XYZxyz(9.2514, 5.5770, 2.5084)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2227 #227C77
analogous
#7C2254 #7C2227 #7C4A22
triadic
#7C2227 #277C22 #22277C
tetradic
#7C2227 #547C22 #227C77 #4A227C
square
#7C2227 #547C22 #227C77 #4A227C
split-complementary
#7C2227 #227C4A #22547C
monochromatic
#1C0809 #4C1518 #7C2227 #AC2F36 #CE4B52

Accessibility & contrast

On white

9.93
#7C2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2227
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2227#FFFFFF#000000##FFFFFF
##7C22271.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#890725
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2227;
/* rgb */ color: rgb(124, 34, 39);
/* oklch */ color: oklch(39.7% 0.124 21.9);
Tailwind
colors: {
  custom: {
    50: '#a86461',
    500: '#7c2227',
    950: '#000000',
  },
}
SCSS
$custom: #7c2227;
$custom-light: #a86461;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2227",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.12372,
    "h": 21.9
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#7C2227
secondary
#4BAFA9
accent
#E0D848
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7C2227

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

Preview Lab → · Contrast checker → · Palette generator →

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