#7F2118#7F2118

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

Color values

HEX#7F2118
RGBrgb(127, 33, 24)
HSLhsl(5, 68%, 30%)
HSVhsv(5, 81%, 50%)
CMYKcmyk(0%, 74%, 81.1%, 50.2%)
CIE-LABlab(28.56, 39.68, 29.31)
CIE-LCHlch(28.56, 49.33, 36.45°)
OKLaboklab(39.93% 0.1133 0.0641)
OKLCHoklch(39.93% 0.13 29.5)
XYZxyz(9.4622, 5.6671, 1.4596)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2118 #18767F
analogous
#7F1842 #7F2118 #7F5518
triadic
#7F2118 #187F21 #21187F
tetradic
#7F2118 #427F18 #18767F #55187F
square
#7F2118 #427F18 #18767F #55187F
split-complementary
#7F2118 #187F55 #18427F
monochromatic
#1A0705 #4C140E #7F2118 #B22E22 #D94638

Accessibility & contrast

On white

9.84
#7F2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2118
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2118#FFFFFF#000000##FFFFFF
##7F21181.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2118;
/* rgb */ color: rgb(127, 33, 24);
/* oklch */ color: oklch(39.9% 0.130 29.5);
Tailwind
colors: {
  custom: {
    50: '#ac6356',
    500: '#7f2118',
    950: '#000000',
  },
}
SCSS
$custom: #7f2118;
$custom-light: #ac6356;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2118",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 5.243,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.13016,
    "h": 29.5
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#7F2118
secondary
#3FA9B3
accent
#DCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2118

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

Preview Lab → · Contrast checker → · Palette generator →

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