#7F1518#7F1518

#7F1518 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 25.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7F1518
RGBrgb(127, 21, 24)
HSLhsl(358, 72%, 29%)
HSVhsv(358, 83%, 50%)
CMYKcmyk(0%, 83.5%, 81.1%, 50.2%)
CIE-LABlab(27.06, 43.85, 27.75)
CIE-LCHlch(27.06, 51.89, 32.33°)
OKLaboklab(38.82% 0.1264 0.0607)
OKLCHoklch(38.82% 0.14 25.6)
XYZxyz(9.1866, 5.1158, 1.3677)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1518 #157F7C
analogous
#7F154D #7F1518 #7F4715
triadic
#7F1518 #187F15 #15187F
tetradic
#7F1518 #4D7F15 #157F7C #47157F
square
#7F1518 #4D7F15 #157F7C #47157F
split-complementary
#7F1518 #157F47 #154D7F
monochromatic
#1A0405 #4A0C0E #7F1518 #B41E22 #DD3136

Accessibility & contrast

On white

10.38
#7F1518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1518
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1518#FFFFFF#000000##FFFFFF
##7F15181.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1518;
/* rgb */ color: rgb(127, 21, 24);
/* oklch */ color: oklch(38.8% 0.140 25.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e55',
    500: '#7f1518',
    950: '#000000',
  },
}
SCSS
$custom: #7f1518;
$custom-light: #ac5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1518",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 358.302,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.14022,
    "h": 25.6
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#7F1518
secondary
#3CB4B1
accent
#EEE939
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1518

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

Preview Lab → · Contrast checker → · Palette generator →

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