#7F2C12#7F2C12

#7F2C12 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.2% C 0.121 H 37.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7F2C12
RGBrgb(127, 44, 18)
HSLhsl(14, 75%, 28%)
HSVhsv(14, 86%, 50%)
CMYKcmyk(0%, 65.4%, 85.8%, 50.2%)
CIE-LABlab(30.30, 34.60, 34.29)
CIE-LCHlch(30.30, 48.71, 44.74°)
OKLaboklab(41.22% 0.0964 0.0729)
OKLCHoklch(41.22% 0.121 37.1)
XYZxyz(9.7634, 6.3585, 1.2854)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C12 #12657F
analogous
#7F122E #7F2C12 #7F6212
triadic
#7F2C12 #127F2C #2C127F
tetradic
#7F2C12 #2E7F12 #12657F #62127F
square
#7F2C12 #2E7F12 #12657F #62127F
split-complementary
#7F2C12 #127F62 #122E7F
monochromatic
#1B0904 #49190A #7F2C12 #B53F1A #E1562B

Accessibility & contrast

On white

9.25
#7F2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C12
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C12#FFFFFF#000000##FFFFFF
##7F2C121.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8C1527
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2c12;
/* rgb */ color: rgb(127, 44, 18);
/* oklch */ color: oklch(41.2% 0.121 37.1);
Tailwind
colors: {
  custom: {
    50: '#ac6952',
    500: '#7f2c12',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c12;
$custom-light: #ac6952;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c12",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 14.312,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.12084,
    "h": 37.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#7F2C12
secondary
#3897B5
accent
#C5F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2C12

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

Preview Lab → · Contrast checker → · Palette generator →

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