#7F2817#7F2817

#7F2817 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.124 H 33.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F2817
RGBrgb(127, 40, 23)
HSLhsl(10, 69%, 29%)
HSVhsv(10, 82%, 50%)
CMYKcmyk(0%, 68.5%, 81.9%, 50.2%)
CIE-LABlab(29.65, 36.64, 31.00)
CIE-LCHlch(29.65, 47.99, 40.23°)
OKLaboklab(40.75% 0.1036 0.0674)
OKLCHoklch(40.75% 0.124 33)
XYZxyz(9.6669, 6.0929, 1.4775)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2817 #176E7F
analogous
#7F173A #7F2817 #7F5C17
triadic
#7F2817 #177F28 #28177F
tetradic
#7F2817 #3A7F17 #176E7F #5C177F
square
#7F2817 #3A7F17 #176E7F #5C177F
split-complementary
#7F2817 #177F5C #173A7F
monochromatic
#1A0805 #4B180E #7F2817 #B33820 #DB5136

Accessibility & contrast

On white

9.47
#7F2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2817
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2817#FFFFFF#000000##FFFFFF
##7F28171.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#8C0E25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2817;
/* rgb */ color: rgb(127, 40, 23);
/* oklch */ color: oklch(40.7% 0.124 33.0);
Tailwind
colors: {
  custom: {
    50: '#ac6755',
    500: '#7f2817',
    950: '#000000',
  },
}
SCSS
$custom: #7f2817;
$custom-light: #ac6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2817",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 9.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.12363,
    "h": 33
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#7F2817
secondary
#3EA0B4
accent
#CFEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2817

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

Preview Lab → · Contrast checker → · Palette generator →

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