#7F2313#7F2313

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

Color values

HEX#7F2313
RGBrgb(127, 35, 19)
HSLhsl(9, 74%, 29%)
HSVhsv(9, 85%, 50%)
CMYKcmyk(0%, 72.4%, 85%, 50.2%)
CIE-LABlab(28.81, 38.69, 32.38)
CIE-LCHlch(28.81, 50.45, 39.93°)
OKLaboklab(40.1% 0.1092 0.069)
OKLCHoklch(40.1% 0.129 32.3)
XYZxyz(9.4721, 5.7626, 1.2295)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2313 #136F7F
analogous
#7F1339 #7F2313 #7F5913
triadic
#7F2313 #137F23 #23137F
tetradic
#7F2313 #397F13 #136F7F #59137F
square
#7F2313 #397F13 #136F7F #59137F
split-complementary
#7F2313 #137F59 #13397F
monochromatic
#1B0704 #4A140B #7F2313 #B4321B #E0472D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2313#FFFFFF#000000##FFFFFF
##7F23131.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)
#3E3710
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2313;
/* rgb */ color: rgb(127, 35, 19);
/* oklch */ color: oklch(40.1% 0.129 32.3);
Tailwind
colors: {
  custom: {
    50: '#ac6452',
    500: '#7f2313',
    950: '#000000',
  },
}
SCSS
$custom: #7f2313;
$custom-light: #ac6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2313",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 19
  },
  "hsl": {
    "h": 8.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.12918,
    "h": 32.3
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#7F2313
secondary
#39A2B4
accent
#D5F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2313

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

Preview Lab → · Contrast checker → · Palette generator →

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