#7F2919#7F2919

#7F2919 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.122 H 32.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7F2919
RGBrgb(127, 41, 25)
HSLhsl(9, 67%, 30%)
HSVhsv(9, 80%, 50%)
CMYKcmyk(0%, 67.7%, 80.3%, 50.2%)
CIE-LABlab(29.84, 36.26, 30.06)
CIE-LCHlch(29.84, 47.10, 39.65°)
OKLaboklab(40.9% 0.1029 0.066)
OKLCHoklch(40.9% 0.122 32.7)
XYZxyz(9.7219, 6.1695, 1.5984)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2919 #196F7F
analogous
#7F193C #7F2919 #7F5C19
triadic
#7F2919 #197F29 #29197F
tetradic
#7F2919 #3C7F19 #196F7F #5C197F
square
#7F2919 #3C7F19 #196F7F #5C197F
split-complementary
#7F2919 #197F5C #193C7F
monochromatic
#1A0805 #4C180F #7F2919 #B23A23 #D8533A

Accessibility & contrast

On white

9.40
#7F2919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F2919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2919
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2919#FFFFFF#000000##FFFFFF
##7F29191.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A17
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#8C1126
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2919;
/* rgb */ color: rgb(127, 41, 25);
/* oklch */ color: oklch(40.9% 0.122 32.7);
Tailwind
colors: {
  custom: {
    50: '#ab6757',
    500: '#7f2919',
    950: '#000000',
  },
}
SCSS
$custom: #7f2919;
$custom-light: #ab6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2919",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 25
  },
  "hsl": {
    "h": 9.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.12221,
    "h": 32.7
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#7F2919
secondary
#41A1B3
accent
#CFEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2919

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

Preview Lab → · Contrast checker → · Palette generator →

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