#7F2C17#7F2C17

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

Color values

HEX#7F2C17
RGBrgb(127, 44, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 82%, 50%)
CMYKcmyk(0%, 65.4%, 81.9%, 50.2%)
CIE-LABlab(30.34, 34.77, 31.70)
CIE-LCHlch(30.34, 47.05, 42.35°)
OKLaboklab(41.27% 0.0978 0.0689)
OKLCHoklch(41.27% 0.12 35.2)
XYZxyz(9.8088, 6.3767, 1.5248)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C17 #176A7F
analogous
#7F1736 #7F2C17 #7F6017
triadic
#7F2C17 #177F2C #2C177F
tetradic
#7F2C17 #367F17 #176A7F #60177F
square
#7F2C17 #367F17 #176A7F #60177F
split-complementary
#7F2C17 #177F60 #17367F
monochromatic
#1A0905 #4B1A0E #7F2C17 #B33E20 #DB5736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2C17#FFFFFF#000000##FFFFFF
##7F2C171.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)
#443C14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#8C1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2c17;
/* rgb */ color: rgb(127, 44, 23);
/* oklch */ color: oklch(41.3% 0.120 35.2);
Tailwind
colors: {
  custom: {
    50: '#ab6955',
    500: '#7f2c17',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c17;
$custom-light: #ab6955;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c17",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 12.115,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.11969,
    "h": 35.2
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#7F2C17
secondary
#3E9CB4
accent
#C9EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2C17

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

Preview Lab → · Contrast checker → · Palette generator →

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