#7F2A14#7F2A14

#7F2A14 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.122 H 35.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7F2A14
RGBrgb(127, 42, 20)
HSLhsl(12, 73%, 29%)
HSVhsv(12, 84%, 50%)
CMYKcmyk(0%, 66.9%, 84.3%, 50.2%)
CIE-LABlab(29.96, 35.61, 32.94)
CIE-LCHlch(29.96, 48.51, 42.77°)
OKLaboklab(40.97% 0.0999 0.0706)
OKLCHoklch(40.97% 0.122 35.3)
XYZxyz(9.7077, 6.2199, 1.3511)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A14 #14697F
analogous
#7F1434 #7F2A14 #7F6014
triadic
#7F2A14 #147F2A #2A147F
tetradic
#7F2A14 #347F14 #14697F #60147F
square
#7F2A14 #347F14 #14697F #60147F
split-complementary
#7F2A14 #147F60 #14347F
monochromatic
#1A0904 #4A190C #7F2A14 #B43B1C #DE532F

Accessibility & contrast

On white

9.36
#7F2A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F2A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A14
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A14#FFFFFF#000000##FFFFFF
##7F2A141.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B11
Deuteranopia (green-blind)
#574E10
Tritanopia (blue-blind)
#8C1226
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a14;
/* rgb */ color: rgb(127, 42, 20);
/* oklch */ color: oklch(41.0% 0.122 35.3);
Tailwind
colors: {
  custom: {
    50: '#ac6853',
    500: '#7f2a14',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a14;
$custom-light: #ac6853;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a14",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 20
  },
  "hsl": {
    "h": 12.336,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.12233,
    "h": 35.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#7F2A14
secondary
#3B9BB4
accent
#CAEF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2A14

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

Preview Lab → · Contrast checker → · Palette generator →

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