#7F1826#7F1826

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

Color values

HEX#7F1826
RGBrgb(127, 24, 38)
HSLhsl(352, 68%, 30%)
HSVhsv(352, 81%, 50%)
CMYKcmyk(0%, 81.1%, 70.1%, 50.2%)
CIE-LABlab(27.59, 43.58, 19.39)
CIE-LCHlch(27.59, 47.69, 23.98°)
OKLaboklab(39.28% 0.1289 0.0455)
OKLCHoklch(39.28% 0.137 19.5)
XYZxyz(9.4299, 5.3067, 2.3611)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1826 #187F71
analogous
#7F1859 #7F1826 #7F3E18
triadic
#7F1826 #267F18 #18267F
tetradic
#7F1826 #597F18 #187F71 #3E187F
square
#7F1826 #597F18 #187F71 #3E187F
split-complementary
#7F1826 #187F3E #18597F
monochromatic
#1A0508 #4C0E17 #7F1826 #B22235 #D9384E

Accessibility & contrast

On white

10.19
#7F1826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1826
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1826#FFFFFF#000000##FFFFFF
##7F18261.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1826;
/* rgb */ color: rgb(127, 24, 38);
/* oklch */ color: oklch(39.3% 0.137 19.5);
Tailwind
colors: {
  custom: {
    50: '#ab6060',
    500: '#7f1826',
    950: '#000000',
  },
}
SCSS
$custom: #7f1826;
$custom-light: #ab6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1826",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 351.845,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.13669,
    "h": 19.5
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#7F1826
secondary
#3FB3A4
accent
#EBD33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1826

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

Preview Lab → · Contrast checker → · Palette generator →

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