#7C2F1F#7C2F1F

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

Color values

HEX#7C2F1F
RGBrgb(124, 47, 31)
HSLhsl(10, 60%, 30%)
HSVhsv(10, 75%, 49%)
CMYKcmyk(0%, 62.1%, 75%, 51.4%)
CIE-LABlab(30.44, 32.48, 27.04)
CIE-LCHlch(30.44, 42.26, 39.78°)
OKLaboklab(41.27% 0.0927 0.0612)
OKLCHoklch(41.27% 0.111 33.4)
XYZxyz(9.5770, 6.4183, 2.0306)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F1F #1F6C7C
analogous
#7C1F3D #7C2F1F #7C5E1F
triadic
#7C2F1F #1F7C2F #2F1F7C
tetradic
#7C2F1F #3D7C1F #1F6C7C #5E1F7C
square
#7C2F1F #3D7C1F #1F6C7C #5E1F7C
split-complementary
#7C2F1F #1F7C5E #1F3D7C
monochromatic
#1A0A07 #4B1C13 #7C2F1F #AD422B #D05D45

Accessibility & contrast

On white

9.20
#7C2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F1F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F1F#FFFFFF#000000##FFFFFF
##7C2F1F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#891E2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2f1f;
/* rgb */ color: rgb(124, 47, 31);
/* oklch */ color: oklch(41.3% 0.111 33.4);
Tailwind
colors: {
  custom: {
    50: '#a86b5b',
    500: '#7c2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f1f;
$custom-light: #a86b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f1f",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 10.323,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.11109,
    "h": 33.4
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7C2F1F
secondary
#489DAF
accent
#C8E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7C2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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