#7F2515#7F2515

#7F2515 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.127 H 32.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F2515
RGBrgb(127, 37, 21)
HSLhsl(9, 72%, 29%)
HSVhsv(9, 83%, 50%)
CMYKcmyk(0%, 70.9%, 83.5%, 50.2%)
CIE-LABlab(29.14, 37.90, 31.60)
CIE-LCHlch(29.14, 49.35, 39.82°)
OKLaboklab(40.36% 0.1072 0.0681)
OKLCHoklch(40.36% 0.127 32.4)
XYZxyz(9.5504, 5.8907, 1.3435)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2515 #156F7F
analogous
#7F153A #7F2515 #7F5A15
triadic
#7F2515 #157F25 #25157F
tetradic
#7F2515 #3A7F15 #156F7F #5A157F
square
#7F2515 #3A7F15 #156F7F #5A157F
split-complementary
#7F2515 #157F5A #153A7F
monochromatic
#1A0804 #4A160C #7F2515 #B4341E #DD4B31

Accessibility & contrast

On white

9.64
#7F2515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2515
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2515#FFFFFF#000000##FFFFFF
##7F25151.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3812
Deuteranopia (green-blind)
#564C11
Tritanopia (blue-blind)
#8C0622
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2515;
/* rgb */ color: rgb(127, 37, 21);
/* oklch */ color: oklch(40.4% 0.127 32.4);
Tailwind
colors: {
  custom: {
    50: '#ac6554',
    500: '#7f2515',
    950: '#000000',
  },
}
SCSS
$custom: #7f2515;
$custom-light: #ac6554;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2515",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 21
  },
  "hsl": {
    "h": 9.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.12694,
    "h": 32.4
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#7F2515
secondary
#3CA2B4
accent
#D3EE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2515

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

Preview Lab → · Contrast checker → · Palette generator →

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