#7F2917#7F2917

#7F2917 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.123 H 33.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7F2917
RGBrgb(127, 41, 23)
HSLhsl(10, 69%, 29%)
HSVhsv(10, 82%, 50%)
CMYKcmyk(0%, 67.7%, 81.9%, 50.2%)
CIE-LABlab(29.82, 36.19, 31.17)
CIE-LCHlch(29.82, 47.76, 40.74°)
OKLaboklab(40.87% 0.1022 0.0678)
OKLCHoklch(40.87% 0.123 33.6)
XYZxyz(9.7011, 6.1612, 1.4889)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2917 #176D7F
analogous
#7F1739 #7F2917 #7F5D17
triadic
#7F2917 #177F29 #29177F
tetradic
#7F2917 #397F17 #176D7F #5D177F
square
#7F2917 #397F17 #176D7F #5D177F
split-complementary
#7F2917 #177F5D #17397F
monochromatic
#1A0805 #4B180E #7F2917 #B33A20 #DB5236

Accessibility & contrast

On white

9.41
#7F2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2917
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2917#FFFFFF#000000##FFFFFF
##7F29171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2917;
/* rgb */ color: rgb(127, 41, 23);
/* oklch */ color: oklch(40.9% 0.123 33.6);
Tailwind
colors: {
  custom: {
    50: '#ab6755',
    500: '#7f2917',
    950: '#000000',
  },
}
SCSS
$custom: #7f2917;
$custom-light: #ab6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2917",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.12266,
    "h": 33.6
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#7F2917
secondary
#3E9FB4
accent
#CEEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2917

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

Preview Lab → · Contrast checker → · Palette generator →

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