#7F2312#7F2312

#7F2312 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.129 H 32.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F2312
RGBrgb(127, 35, 18)
HSLhsl(9, 75%, 28%)
HSVhsv(9, 86%, 50%)
CMYKcmyk(0%, 72.4%, 85.8%, 50.2%)
CIE-LABlab(28.80, 38.66, 32.91)
CIE-LCHlch(28.80, 50.77, 40.41°)
OKLaboklab(40.09% 0.1089 0.0698)
OKLCHoklch(40.09% 0.129 32.7)
XYZxyz(9.4637, 5.7592, 1.1855)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2312 #126E7F
analogous
#7F1237 #7F2312 #7F5912
triadic
#7F2312 #127F23 #23127F
tetradic
#7F2312 #377F12 #126E7F #59127F
square
#7F2312 #377F12 #126E7F #59127F
split-complementary
#7F2312 #127F59 #12377F
monochromatic
#1B0704 #49140A #7F2312 #B5321A #E1472B

Accessibility & contrast

On white

9.76
#7F2312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2312
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2312#FFFFFF#000000##FFFFFF
##7F23121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370F
Deuteranopia (green-blind)
#554B0D
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2312;
/* rgb */ color: rgb(127, 35, 18);
/* oklch */ color: oklch(40.1% 0.129 32.7);
Tailwind
colors: {
  custom: {
    50: '#ac6452',
    500: '#7f2312',
    950: '#000000',
  },
}
SCSS
$custom: #7f2312;
$custom-light: #ac6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2312",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 9.358,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.12936,
    "h": 32.7
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#7F2312
secondary
#38A1B5
accent
#D4F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2312

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

Preview Lab → · Contrast checker → · Palette generator →

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