#7F2415#7F2415

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

Color values

HEX#7F2415
RGBrgb(127, 36, 21)
HSLhsl(8, 72%, 29%)
HSVhsv(8, 83%, 50%)
CMYKcmyk(0%, 71.7%, 83.5%, 50.2%)
CIE-LABlab(28.98, 38.33, 31.45)
CIE-LCHlch(28.98, 49.58, 39.37°)
OKLaboklab(40.24% 0.1085 0.0677)
OKLCHoklch(40.24% 0.128 32)
XYZxyz(9.5197, 5.8294, 1.3332)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2415 #15707F
analogous
#7F153B #7F2415 #7F5915
triadic
#7F2415 #157F24 #24157F
tetradic
#7F2415 #3B7F15 #15707F #59157F
square
#7F2415 #3B7F15 #15707F #59157F
split-complementary
#7F2415 #157F59 #153B7F
monochromatic
#1A0704 #4A150C #7F2415 #B4331E #DD4A31

Accessibility & contrast

On white

9.70
#7F2415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2415
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2415#FFFFFF#000000##FFFFFF
##7F24151.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3812
Deuteranopia (green-blind)
#554C11
Tritanopia (blue-blind)
#8C0321
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2415;
/* rgb */ color: rgb(127, 36, 21);
/* oklch */ color: oklch(40.2% 0.128 32.0);
Tailwind
colors: {
  custom: {
    50: '#ac6554',
    500: '#7f2415',
    950: '#000000',
  },
}
SCSS
$custom: #7f2415;
$custom-light: #ac6554;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2415",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 21
  },
  "hsl": {
    "h": 8.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40239,
    "c": 0.12788,
    "h": 32
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#7F2415
secondary
#3CA3B4
accent
#D5EE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2415

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

Preview Lab → · Contrast checker → · Palette generator →

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