#7F1918#7F1918

#7F1918 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.137 H 26.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1918
RGBrgb(127, 25, 24)
HSLhsl(1, 68%, 30%)
HSVhsv(1, 81%, 50%)
CMYKcmyk(0%, 80.3%, 81.1%, 50.2%)
CIE-LABlab(27.50, 42.61, 28.22)
CIE-LCHlch(27.50, 51.10, 33.52°)
OKLaboklab(39.15% 0.1225 0.0617)
OKLCHoklch(39.15% 0.137 26.7)
XYZxyz(9.2660, 5.2747, 1.3942)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1918 #187E7F
analogous
#7F184A #7F1918 #7F4D18
triadic
#7F1918 #187F19 #19187F
tetradic
#7F1918 #4A7F18 #187E7F #4D187F
square
#7F1918 #4A7F18 #187E7F #4D187F
split-complementary
#7F1918 #187F4D #184A7F
monochromatic
#1A0505 #4C0F0E #7F1918 #B22322 #D93A38

Accessibility & contrast

On white

10.22
#7F1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1918
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1918#FFFFFF#000000##FFFFFF
##7F19181.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393317
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1918;
/* rgb */ color: rgb(127, 25, 24);
/* oklch */ color: oklch(39.1% 0.137 26.7);
Tailwind
colors: {
  custom: {
    50: '#ac6055',
    500: '#7f1918',
    950: '#000000',
  },
}
SCSS
$custom: #7f1918;
$custom-light: #ac6055;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1918",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.583,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39148,
    "c": 0.13715,
    "h": 26.7
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#7F1918
secondary
#3FB2B3
accent
#E9EB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1918

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

Preview Lab → · Contrast checker → · Palette generator →

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