#7F1D12#7F1D12

#7F1D12 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.135 H 30.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7F1D12
RGBrgb(127, 29, 18)
HSLhsl(6, 75%, 28%)
HSVhsv(6, 86%, 50%)
CMYKcmyk(0%, 77.2%, 85.8%, 50.2%)
CIE-LABlab(27.94, 41.01, 32.12)
CIE-LCHlch(27.94, 52.09, 38.06°)
OKLaboklab(39.46% 0.1162 0.068)
OKLCHoklch(39.46% 0.135 30.3)
XYZxyz(9.3021, 5.4359, 1.1316)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D12 #12747F
analogous
#7F123D #7F1D12 #7F5312
triadic
#7F1D12 #127F1D #1D127F
tetradic
#7F1D12 #3D7F12 #12747F #53127F
square
#7F1D12 #3D7F12 #12747F #53127F
split-complementary
#7F1D12 #127F53 #123D7F
monochromatic
#1B0604 #49110A #7F1D12 #B5291A #E13D2B

Accessibility & contrast

On white

10.06
#7F1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D12
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D12#FFFFFF#000000##FFFFFF
##7F1D121.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#534A0D
Tritanopia (blue-blind)
#8D001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d12;
/* rgb */ color: rgb(127, 29, 18);
/* oklch */ color: oklch(39.5% 0.135 30.3);
Tailwind
colors: {
  custom: {
    50: '#ad6151',
    500: '#7f1d12',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d12;
$custom-light: #ad6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d12",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 6.055,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.13468,
    "h": 30.3
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#7F1D12
secondary
#38A8B5
accent
#DFF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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