#7F2218#7F2218

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

Color values

HEX#7F2218
RGBrgb(127, 34, 24)
HSLhsl(6, 68%, 30%)
HSVhsv(6, 81%, 50%)
CMYKcmyk(0%, 73.2%, 81.1%, 50.2%)
CIE-LABlab(28.70, 39.27, 29.46)
CIE-LCHlch(28.70, 49.10, 36.88°)
OKLaboklab(40.04% 0.112 0.0644)
OKLCHoklch(40.04% 0.129 29.9)
XYZxyz(9.4904, 5.7235, 1.4690)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2218 #18757F
analogous
#7F1842 #7F2218 #7F5618
triadic
#7F2218 #187F22 #22187F
tetradic
#7F2218 #427F18 #18757F #56187F
square
#7F2218 #427F18 #18757F #56187F
split-complementary
#7F2218 #187F56 #18427F
monochromatic
#1A0705 #4C140E #7F2218 #B23022 #D94838

Accessibility & contrast

On white

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

On black

2.14
#7F2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F2218#FFFFFF#000000##FFFFFF
##7F22181.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2218;
/* rgb */ color: rgb(127, 34, 24);
/* oklch */ color: oklch(40.0% 0.129 29.9);
Tailwind
colors: {
  custom: {
    50: '#ac6456',
    500: '#7f2218',
    950: '#000000',
  },
}
SCSS
$custom: #7f2218;
$custom-light: #ac6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2218",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.825,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.12923,
    "h": 29.9
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#7F2218
secondary
#3FA8B3
accent
#DAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2218

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

Preview Lab → · Contrast checker → · Palette generator →

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