#7C2F27#7C2F27

#7C2F27 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.109 H 28.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7C2F27
RGBrgb(124, 47, 39)
HSLhsl(6, 52%, 32%)
HSVhsv(6, 69%, 49%)
CMYKcmyk(0%, 62.1%, 68.5%, 51.4%)
CIE-LABlab(30.56, 32.94, 22.27)
CIE-LCHlch(30.56, 39.76, 34.06°)
OKLaboklab(41.4% 0.0958 0.0522)
OKLCHoklch(41.4% 0.109 28.6)
XYZxyz(9.6958, 6.4659, 2.6565)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F27 #27747C
analogous
#7C274A #7C2F27 #7C5A27
triadic
#7C2F27 #277C2F #2F277C
tetradic
#7C2F27 #4A7C27 #27747C #5A277C
square
#7C2F27 #4A7C27 #27747C #5A277C
split-complementary
#7C2F27 #277C5A #274A7C
monochromatic
#1F0C0A #4D1D18 #7C2F27 #AB4136 #C95F54

Accessibility & contrast

On white

9.16
#7C2F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2F27
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F27#FFFFFF#000000##FFFFFF
##7C2F271.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E26
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#881F2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2f27;
/* rgb */ color: rgb(124, 47, 39);
/* oklch */ color: oklch(41.4% 0.109 28.6);
Tailwind
colors: {
  custom: {
    50: '#a76b61',
    500: '#7c2f27',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f27;
$custom-light: #a76b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f27",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 5.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.10912,
    "h": 28.6
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#7C2F27
secondary
#51A5AE
accent
#CEDC4C
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7C2F27

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

Preview Lab → · Contrast checker → · Palette generator →

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