#7F2C18#7F2C18

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

Color values

HEX#7F2C18
RGBrgb(127, 44, 24)
HSLhsl(12, 68%, 30%)
HSVhsv(12, 81%, 50%)
CMYKcmyk(0%, 65.4%, 81.1%, 50.2%)
CIE-LABlab(30.35, 34.81, 31.15)
CIE-LCHlch(30.35, 46.72, 41.83°)
OKLaboklab(41.28% 0.0982 0.0681)
OKLCHoklch(41.28% 0.119 34.7)
XYZxyz(9.8190, 6.3807, 1.5785)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C18 #186B7F
analogous
#7F1838 #7F2C18 #7F5F18
triadic
#7F2C18 #187F2C #2C187F
tetradic
#7F2C18 #387F18 #186B7F #5F187F
square
#7F2C18 #387F18 #186B7F #5F187F
split-complementary
#7F2C18 #187F5F #18387F
monochromatic
#1A0905 #4C1A0E #7F2C18 #B23E22 #D95738

Accessibility & contrast

On white

9.23
#7F2C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2C18
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C18#FFFFFF#000000##FFFFFF
##7F2C181.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C15
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#8C1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2c18;
/* rgb */ color: rgb(127, 44, 24);
/* oklch */ color: oklch(41.3% 0.119 34.7);
Tailwind
colors: {
  custom: {
    50: '#ab6956',
    500: '#7f2c18',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c18;
$custom-light: #ab6956;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c18",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 11.65,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.11945,
    "h": 34.7
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#7F2C18
secondary
#3F9DB3
accent
#C9EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2C18

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

Preview Lab → · Contrast checker → · Palette generator →

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