#7F1926#7F1926

#7F1926 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.136 H 19.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7F1926
RGBrgb(127, 25, 38)
HSLhsl(352, 67%, 30%)
HSVhsv(352, 80%, 50%)
CMYKcmyk(0%, 80.3%, 70.1%, 50.2%)
CIE-LABlab(27.71, 43.25, 19.53)
CIE-LCHlch(27.71, 47.46, 24.30°)
OKLaboklab(39.36% 0.1278 0.0459)
OKLCHoklch(39.36% 0.136 19.7)
XYZxyz(9.4509, 5.3487, 2.3681)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1926 #197F72
analogous
#7F1959 #7F1926 #7F3F19
triadic
#7F1926 #267F19 #19267F
tetradic
#7F1926 #597F19 #197F72 #3F197F
square
#7F1926 #597F19 #197F72 #3F197F
split-complementary
#7F1926 #197F3F #19597F
monochromatic
#1A0508 #4C0F17 #7F1926 #B22335 #D83A4E

Accessibility & contrast

On white

10.15
#7F1926 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1926 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1926
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1926#FFFFFF#000000##FFFFFF
##7F19261.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373426
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1926;
/* rgb */ color: rgb(127, 25, 38);
/* oklch */ color: oklch(39.4% 0.136 19.7);
Tailwind
colors: {
  custom: {
    50: '#ab6060',
    500: '#7f1926',
    950: '#000000',
  },
}
SCSS
$custom: #7f1926;
$custom-light: #ab6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1926",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 38
  },
  "hsl": {
    "h": 352.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.13581,
    "h": 19.7
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#7F1926
secondary
#41B3A5
accent
#EAD43E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1926

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

Preview Lab → · Contrast checker → · Palette generator →

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