#7F2E17#7F2E17

#7F2E17 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.118 H 36.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2E17
RGBrgb(127, 46, 23)
HSLhsl(13, 69%, 29%)
HSVhsv(13, 82%, 50%)
CMYKcmyk(0%, 63.8%, 81.9%, 50.2%)
CIE-LABlab(30.71, 33.80, 32.06)
CIE-LCHlch(30.71, 46.59, 43.49°)
OKLaboklab(41.55% 0.0948 0.0697)
OKLCHoklch(41.55% 0.118 36.3)
XYZxyz(9.8851, 6.5293, 1.5502)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E17 #17687F
analogous
#7F1734 #7F2E17 #7F6217
triadic
#7F2E17 #177F2E #2E177F
tetradic
#7F2E17 #347F17 #17687F #62177F
square
#7F2E17 #347F17 #17687F #62177F
split-complementary
#7F2E17 #177F62 #17347F
monochromatic
#1A0905 #4B1B0E #7F2E17 #B34120 #DB5A36

Accessibility & contrast

On white

9.11
#7F2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E17
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E17#FFFFFF#000000##FFFFFF
##7F2E171.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#8C1A29
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e17;
/* rgb */ color: rgb(127, 46, 23);
/* oklch */ color: oklch(41.5% 0.118 36.3);
Tailwind
colors: {
  custom: {
    50: '#ab6a56',
    500: '#7f2e17',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e17;
$custom-light: #ab6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e17",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 13.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.11771,
    "h": 36.3
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#7F2E17
secondary
#3E9AB4
accent
#C5EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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