#7C2F23#7C2F23

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

Color values

HEX#7C2F23
RGBrgb(124, 47, 35)
HSLhsl(8, 56%, 31%)
HSVhsv(8, 72%, 49%)
CMYKcmyk(0%, 62.1%, 71.8%, 51.4%)
CIE-LABlab(30.50, 32.69, 24.68)
CIE-LCHlch(30.50, 40.96, 37.05°)
OKLaboklab(41.33% 0.0942 0.0569)
OKLCHoklch(41.33% 0.11 31.1)
XYZxyz(9.6330, 6.4408, 2.3257)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F23 #23707C
analogous
#7C2343 #7C2F23 #7C5B23
triadic
#7C2F23 #237C2F #2F237C
tetradic
#7C2F23 #437C23 #23707C #5B237C
square
#7C2F23 #437C23 #23707C #5B237C
split-complementary
#7C2F23 #237C5B #23437C
monochromatic
#1D0B08 #4C1D16 #7C2F23 #AC4130 #CD5E4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2F23#FFFFFF#000000##FFFFFF
##7C2F231.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)
#443D21
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#881E2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2f23;
/* rgb */ color: rgb(124, 47, 35);
/* oklch */ color: oklch(41.3% 0.110 31.1);
Tailwind
colors: {
  custom: {
    50: '#a86b5e',
    500: '#7c2f23',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f23;
$custom-light: #a86b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f23",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 8.09,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.11005,
    "h": 31.1
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#7C2F23
secondary
#4CA1AF
accent
#CBDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7C2F23

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

Preview Lab → · Contrast checker → · Palette generator →

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