#7F2417#7F2417

#7F2417 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 31.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7F2417
RGBrgb(127, 36, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 50%)
CMYKcmyk(0%, 71.7%, 81.9%, 50.2%)
CIE-LABlab(29.00, 38.40, 30.34)
CIE-LCHlch(29.00, 48.94, 38.31°)
OKLaboklab(40.26% 0.1091 0.066)
OKLCHoklch(40.26% 0.128 31.2)
XYZxyz(9.5390, 5.8371, 1.4348)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2417 #17727F
analogous
#7F173E #7F2417 #7F5817
triadic
#7F2417 #177F24 #24177F
tetradic
#7F2417 #3E7F17 #17727F #58177F
square
#7F2417 #3E7F17 #17727F #58177F
split-complementary
#7F2417 #177F58 #173E7F
monochromatic
#1A0705 #4B150E #7F2417 #B33320 #DB4A36

Accessibility & contrast

On white

9.69
#7F2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2417
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2417#FFFFFF#000000##FFFFFF
##7F24171.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#8C0322
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2417;
/* rgb */ color: rgb(127, 36, 23);
/* oklch */ color: oklch(40.3% 0.128 31.2);
Tailwind
colors: {
  custom: {
    50: '#ac6555',
    500: '#7f2417',
    950: '#000000',
  },
}
SCSS
$custom: #7f2417;
$custom-light: #ac6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2417",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.12751,
    "h": 31.2
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#7F2417
secondary
#3EA5B4
accent
#D6EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2417

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

Preview Lab → · Contrast checker → · Palette generator →

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