#7F2913#7F2913

#7F2913 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.123 H 35.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F2913
RGBrgb(127, 41, 19)
HSLhsl(12, 74%, 29%)
HSVhsv(12, 85%, 50%)
CMYKcmyk(0%, 67.7%, 85%, 50.2%)
CIE-LABlab(29.78, 36.05, 33.29)
CIE-LCHlch(29.78, 49.07, 42.73°)
OKLaboklab(40.84% 0.101 0.0711)
OKLCHoklch(40.84% 0.124 35.1)
XYZxyz(9.6640, 6.1463, 1.2935)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2913 #13697F
analogous
#7F1333 #7F2913 #7F5F13
triadic
#7F2913 #137F29 #29137F
tetradic
#7F2913 #337F13 #13697F #5F137F
square
#7F2913 #337F13 #13697F #5F137F
split-complementary
#7F2913 #137F5F #13337F
monochromatic
#1B0904 #4A180B #7F2913 #B43A1B #E0512D

Accessibility & contrast

On white

9.42
#7F2913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2913
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2913#FFFFFF#000000##FFFFFF
##7F29131.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#574D0F
Tritanopia (blue-blind)
#8C0F25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2913;
/* rgb */ color: rgb(127, 41, 19);
/* oklch */ color: oklch(40.8% 0.123 35.1);
Tailwind
colors: {
  custom: {
    50: '#ac6753',
    500: '#7f2913',
    950: '#000000',
  },
}
SCSS
$custom: #7f2913;
$custom-light: #ac6753;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2913",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 19
  },
  "hsl": {
    "h": 12.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.1235,
    "h": 35.1
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#7F2913
secondary
#399BB4
accent
#CBF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2913

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

Preview Lab → · Contrast checker → · Palette generator →

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