#7F1C12#7F1C12

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

Color values

HEX#7F1C12
RGBrgb(127, 28, 18)
HSLhsl(6, 75%, 28%)
HSVhsv(6, 86%, 50%)
CMYKcmyk(0%, 78%, 85.8%, 50.2%)
CIE-LABlab(27.81, 41.37, 32.00)
CIE-LCHlch(27.81, 52.30, 37.71°)
OKLaboklab(39.36% 0.1174 0.0678)
OKLCHoklch(39.36% 0.136 30)
XYZxyz(9.2780, 5.3877, 1.1236)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C12 #12757F
analogous
#7F123E #7F1C12 #7F5212
triadic
#7F1C12 #127F1C #1C127F
tetradic
#7F1C12 #3E7F12 #12757F #52127F
square
#7F1C12 #3E7F12 #12757F #52127F
split-complementary
#7F1C12 #127F52 #123E7F
monochromatic
#1B0604 #49100A #7F1C12 #B5281A #E13B2B

Accessibility & contrast

On white

10.11
#7F1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C12
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C12#FFFFFF#000000##FFFFFF
##7F1C121.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3410
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8D001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1c12;
/* rgb */ color: rgb(127, 28, 18);
/* oklch */ color: oklch(39.4% 0.136 30.0);
Tailwind
colors: {
  custom: {
    50: '#ad6151',
    500: '#7f1c12',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c12;
$custom-light: #ad6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c12",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 5.505,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.13553,
    "h": 30
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#7F1C12
secondary
#38A9B5
accent
#E1F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1C12

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

Preview Lab → · Contrast checker → · Palette generator →

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