#7F2A11#7F2A11

#7F2A11 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.123 H 36.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F2A11
RGBrgb(127, 42, 17)
HSLhsl(14, 76%, 28%)
HSVhsv(14, 87%, 50%)
CMYKcmyk(0%, 66.9%, 86.6%, 50.2%)
CIE-LABlab(29.94, 35.52, 34.46)
CIE-LCHlch(29.94, 49.49, 44.13°)
OKLaboklab(40.95% 0.099 0.0729)
OKLCHoklch(40.95% 0.123 36.3)
XYZxyz(9.6826, 6.2098, 1.2190)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A11 #11667F
analogous
#7F112F #7F2A11 #7F6111
triadic
#7F2A11 #117F2A #2A117F
tetradic
#7F2A11 #2F7F11 #11667F #61117F
square
#7F2A11 #2F7F11 #11667F #61117F
split-complementary
#7F2A11 #117F61 #112F7F
monochromatic
#1B0904 #49180A #7F2A11 #B53C18 #E25228

Accessibility & contrast

On white

9.37
#7F2A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A11
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A11#FFFFFF#000000##FFFFFF
##7F2A111.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0D
Deuteranopia (green-blind)
#584E0D
Tritanopia (blue-blind)
#8C1125
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2a11;
/* rgb */ color: rgb(127, 42, 17);
/* oklch */ color: oklch(40.9% 0.123 36.3);
Tailwind
colors: {
  custom: {
    50: '#ac6852',
    500: '#7f2a11',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a11;
$custom-light: #ac6852;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a11",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 17
  },
  "hsl": {
    "h": 13.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.12296,
    "h": 36.3
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#7F2A11
secondary
#3798B5
accent
#C8F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2A11

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

Preview Lab → · Contrast checker → · Palette generator →

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