#7F2B20#7F2B20

#7F2B20 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.119 H 30.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F2B20
RGBrgb(127, 43, 32)
HSLhsl(7, 60%, 31%)
HSVhsv(7, 75%, 50%)
CMYKcmyk(0%, 66.1%, 74.8%, 50.2%)
CIE-LABlab(30.27, 35.65, 26.39)
CIE-LCHlch(30.27, 44.35, 36.51°)
OKLaboklab(41.25% 0.1024 0.0599)
OKLCHoklch(41.25% 0.119 30.3)
XYZxyz(9.8780, 6.3455, 2.0709)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B20 #20747F
analogous
#7F2044 #7F2B20 #7F5A20
triadic
#7F2B20 #207F2B #2B207F
tetradic
#7F2B20 #447F20 #20747F #5A207F
square
#7F2B20 #447F20 #20747F #5A207F
split-complementary
#7F2B20 #207F5A #20447F
monochromatic
#1D0A07 #4E1A14 #7F2B20 #B03C2C #D15848

Accessibility & contrast

On white

9.26
#7F2B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B20
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B20#FFFFFF#000000##FFFFFF
##7F2B201.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1E
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#8C1629
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b20;
/* rgb */ color: rgb(127, 43, 32);
/* oklch */ color: oklch(41.2% 0.119 30.3);
Tailwind
colors: {
  custom: {
    50: '#ab695c',
    500: '#7f2b20',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b20;
$custom-light: #ab695c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b20",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 32
  },
  "hsl": {
    "h": 6.947,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.11864,
    "h": 30.3
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#7F2B20
secondary
#49A6B2
accent
#D1E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2B20

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

Preview Lab → · Contrast checker → · Palette generator →

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