#7C2F22#7C2F22

#7C2F22 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.110 H 31.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7C2F22
RGBrgb(124, 47, 34)
HSLhsl(9, 57%, 31%)
HSVhsv(9, 73%, 49%)
CMYKcmyk(0%, 62.1%, 72.6%, 51.4%)
CIE-LABlab(30.48, 32.64, 25.27)
CIE-LCHlch(30.48, 41.28, 37.75°)
OKLaboklab(41.31% 0.0938 0.058)
OKLCHoklch(41.31% 0.11 31.7)
XYZxyz(9.6184, 6.4349, 2.2486)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F22 #226F7C
analogous
#7C2242 #7C2F22 #7C5C22
triadic
#7C2F22 #227C2F #2F227C
tetradic
#7C2F22 #427C22 #226F7C #5C227C
square
#7C2F22 #427C22 #226F7C #5C227C
split-complementary
#7C2F22 #227C5C #22427C
monochromatic
#1C0B08 #4C1D15 #7C2F22 #AC412F #CE5E4B

Accessibility & contrast

On white

9.18
#7C2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F22
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F22#FFFFFF#000000##FFFFFF
##7C2F221.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D20
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#881E2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2f22;
/* rgb */ color: rgb(124, 47, 34);
/* oklch */ color: oklch(41.3% 0.110 31.7);
Tailwind
colors: {
  custom: {
    50: '#a86b5d',
    500: '#7c2f22',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f22;
$custom-light: #a86b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f22",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 8.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.11031,
    "h": 31.7
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#7C2F22
secondary
#4BA0AF
accent
#CAE048
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7C2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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