#7F2315#7F2315

#7F2315 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.129 H 31.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7F2315
RGBrgb(127, 35, 21)
HSLhsl(8, 72%, 29%)
HSVhsv(8, 83%, 50%)
CMYKcmyk(0%, 72.4%, 83.5%, 50.2%)
CIE-LABlab(28.82, 38.75, 31.30)
CIE-LCHlch(28.82, 49.81, 38.93°)
OKLaboklab(40.12% 0.1098 0.0674)
OKLCHoklch(40.12% 0.129 31.5)
XYZxyz(9.4899, 5.7697, 1.3233)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2315 #15717F
analogous
#7F153C #7F2315 #7F5815
triadic
#7F2315 #157F23 #23157F
tetradic
#7F2315 #3C7F15 #15717F #58157F
square
#7F2315 #3C7F15 #15717F #58157F
split-complementary
#7F2315 #157F58 #153C7F
monochromatic
#1A0704 #4A150C #7F2315 #B4311E #DD4831

Accessibility & contrast

On white

9.75
#7F2315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2315
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2315#FFFFFF#000000##FFFFFF
##7F23151.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3712
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2315;
/* rgb */ color: rgb(127, 35, 21);
/* oklch */ color: oklch(40.1% 0.129 31.5);
Tailwind
colors: {
  custom: {
    50: '#ac6454',
    500: '#7f2315',
    950: '#000000',
  },
}
SCSS
$custom: #7f2315;
$custom-light: #ac6454;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2315",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 21
  },
  "hsl": {
    "h": 7.925,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.12882,
    "h": 31.5
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#7F2315
secondary
#3CA4B4
accent
#D6EE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2315

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

Preview Lab → · Contrast checker → · Palette generator →

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