#7F2517#7F2517

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

Color values

HEX#7F2517
RGBrgb(127, 37, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 50%)
CMYKcmyk(0%, 70.9%, 81.9%, 50.2%)
CIE-LABlab(29.15, 37.97, 30.50)
CIE-LCHlch(29.15, 48.71, 38.77°)
OKLaboklab(40.38% 0.1078 0.0663)
OKLCHoklch(40.38% 0.127 31.6)
XYZxyz(9.5697, 5.8985, 1.4451)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2517 #17717F
analogous
#7F173D #7F2517 #7F5917
triadic
#7F2517 #177F25 #25177F
tetradic
#7F2517 #3D7F17 #17717F #59177F
square
#7F2517 #3D7F17 #17717F #59177F
split-complementary
#7F2517 #177F59 #173D7F
monochromatic
#1A0805 #4B160E #7F2517 #B33420 #DB4C36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2517#FFFFFF#000000##FFFFFF
##7F25171.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)
#3F3815
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#8C0622
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2517;
/* rgb */ color: rgb(127, 37, 23);
/* oklch */ color: oklch(40.4% 0.127 31.6);
Tailwind
colors: {
  custom: {
    50: '#ac6555',
    500: '#7f2517',
    950: '#000000',
  },
}
SCSS
$custom: #7f2517;
$custom-light: #ac6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2517",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 8.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.12655,
    "h": 31.6
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7F2517
secondary
#3EA4B4
accent
#D4EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2517

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

Preview Lab → · Contrast checker → · Palette generator →

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