#7F2319#7F2319

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

Color values

HEX#7F2319
RGBrgb(127, 35, 25)
HSLhsl(6, 67%, 30%)
HSVhsv(6, 80%, 50%)
CMYKcmyk(0%, 72.4%, 80.3%, 50.2%)
CIE-LABlab(28.87, 38.90, 29.04)
CIE-LCHlch(28.87, 48.55, 36.75°)
OKLaboklab(40.17% 0.1111 0.0638)
OKLCHoklch(40.17% 0.128 29.9)
XYZxyz(9.5300, 5.7857, 1.5345)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2319 #19757F
analogous
#7F1942 #7F2319 #7F5619
triadic
#7F2319 #197F23 #23197F
tetradic
#7F2319 #427F19 #19757F #56197F
square
#7F2319 #427F19 #19757F #56197F
split-complementary
#7F2319 #197F56 #19427F
monochromatic
#1A0705 #4C150F #7F2319 #B23123 #D84A3A

Accessibility & contrast

On white

9.74
#7F2319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F2319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2319
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2319#FFFFFF#000000##FFFFFF
##7F23191.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3717
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#8C0121
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2319;
/* rgb */ color: rgb(127, 35, 25);
/* oklch */ color: oklch(40.2% 0.128 29.9);
Tailwind
colors: {
  custom: {
    50: '#ac6456',
    500: '#7f2319',
    950: '#000000',
  },
}
SCSS
$custom: #7f2319;
$custom-light: #ac6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2319",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 25
  },
  "hsl": {
    "h": 5.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.1281,
    "h": 29.9
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7F2319
secondary
#41A8B3
accent
#D9EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2319

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

Preview Lab → · Contrast checker → · Palette generator →

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