#7F2617#7F2617

#7F2617 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.126 H 32.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7F2617
RGBrgb(127, 38, 23)
HSLhsl(9, 69%, 29%)
HSVhsv(9, 82%, 50%)
CMYKcmyk(0%, 70.1%, 81.9%, 50.2%)
CIE-LABlab(29.32, 37.54, 30.66)
CIE-LCHlch(29.32, 48.47, 39.24°)
OKLaboklab(40.5% 0.1064 0.0667)
OKLCHoklch(40.5% 0.126 32.1)
XYZxyz(9.6013, 5.9615, 1.4556)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2617 #17707F
analogous
#7F173C #7F2617 #7F5A17
triadic
#7F2617 #177F26 #26177F
tetradic
#7F2617 #3C7F17 #17707F #5A177F
square
#7F2617 #3C7F17 #17707F #5A177F
split-complementary
#7F2617 #177F5A #173C7F
monochromatic
#1A0805 #4B160E #7F2617 #B33620 #DB4E36

Accessibility & contrast

On white

9.58
#7F2617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F2617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2617
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2617#FFFFFF#000000##FFFFFF
##7F26171.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#564C13
Tritanopia (blue-blind)
#8C0923
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2617;
/* rgb */ color: rgb(127, 38, 23);
/* oklch */ color: oklch(40.5% 0.126 32.1);
Tailwind
colors: {
  custom: {
    50: '#ac6655',
    500: '#7f2617',
    950: '#000000',
  },
}
SCSS
$custom: #7f2617;
$custom-light: #ac6655;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2617",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 23
  },
  "hsl": {
    "h": 8.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.12558,
    "h": 32.1
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#7F2617
secondary
#3EA3B4
accent
#D3EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2617

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

Preview Lab → · Contrast checker → · Palette generator →

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