#7F1915#7F1915

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

Color values

HEX#7F1915
RGBrgb(127, 25, 21)
HSLhsl(2, 72%, 29%)
HSVhsv(2, 83%, 50%)
CMYKcmyk(0%, 80.3%, 83.5%, 50.2%)
CIE-LABlab(27.47, 42.50, 29.97)
CIE-LCHlch(27.47, 52.00, 35.19°)
OKLaboklab(39.11% 0.1215 0.0645)
OKLCHoklch(39.11% 0.138 27.9)
XYZxyz(9.2365, 5.2629, 1.2388)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1915 #157B7F
analogous
#7F1546 #7F1915 #7F4E15
triadic
#7F1915 #157F19 #19157F
tetradic
#7F1915 #467F15 #157B7F #4E157F
square
#7F1915 #467F15 #157B7F #4E157F
split-complementary
#7F1915 #157F4E #15467F
monochromatic
#1A0504 #4A0F0C #7F1915 #B4231E #DD3831

Accessibility & contrast

On white

10.23
#7F1915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1915
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1915#FFFFFF#000000##FFFFFF
##7F19151.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393313
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1915;
/* rgb */ color: rgb(127, 25, 21);
/* oklch */ color: oklch(39.1% 0.138 27.9);
Tailwind
colors: {
  custom: {
    50: '#ad6053',
    500: '#7f1915',
    950: '#000000',
  },
}
SCSS
$custom: #7f1915;
$custom-light: #ad6053;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1915",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 21
  },
  "hsl": {
    "h": 2.264,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.13755,
    "h": 27.9
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#7F1915
secondary
#3CAFB4
accent
#E8EE39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1915

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

Preview Lab → · Contrast checker → · Palette generator →

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