#7F2219#7F2219

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

Color values

HEX#7F2219
RGBrgb(127, 34, 25)
HSLhsl(5, 67%, 30%)
HSVhsv(5, 80%, 50%)
CMYKcmyk(0%, 73.2%, 80.3%, 50.2%)
CIE-LABlab(28.71, 39.31, 28.89)
CIE-LCHlch(28.71, 48.78, 36.31°)
OKLaboklab(40.06% 0.1124 0.0635)
OKLCHoklch(40.06% 0.129 29.5)
XYZxyz(9.5010, 5.7277, 1.5248)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2219 #19767F
analogous
#7F1943 #7F2219 #7F5519
triadic
#7F2219 #197F22 #22197F
tetradic
#7F2219 #437F19 #19767F #55197F
square
#7F2219 #437F19 #19767F #55197F
split-complementary
#7F2219 #197F55 #19437F
monochromatic
#1A0705 #4C140F #7F2219 #B23023 #D8483A

Accessibility & contrast

On white

9.79
#7F2219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2219
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2219#FFFFFF#000000##FFFFFF
##7F22191.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3717
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2219;
/* rgb */ color: rgb(127, 34, 25);
/* oklch */ color: oklch(40.1% 0.129 29.5);
Tailwind
colors: {
  custom: {
    50: '#ac6456',
    500: '#7f2219',
    950: '#000000',
  },
}
SCSS
$custom: #7f2219;
$custom-light: #ac6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2219",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 25
  },
  "hsl": {
    "h": 5.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.12905,
    "h": 29.5
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7F2219
secondary
#41A9B3
accent
#DBEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2219

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

Preview Lab → · Contrast checker → · Palette generator →

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