#7F2A1A#7F2A1A

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

Color values

HEX#7F2A1A
RGBrgb(127, 42, 26)
HSLhsl(10, 66%, 30%)
HSVhsv(10, 80%, 50%)
CMYKcmyk(0%, 66.9%, 79.5%, 50.2%)
CIE-LABlab(30.02, 35.84, 29.67)
CIE-LCHlch(30.02, 46.53, 39.62°)
OKLaboklab(41.04% 0.1017 0.0655)
OKLCHoklch(41.04% 0.121 32.8)
XYZxyz(9.7679, 6.2439, 1.6679)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A1A #1A6F7F
analogous
#7F1A3C #7F2A1A #7F5D1A
triadic
#7F2A1A #1A7F2A #2A1A7F
tetradic
#7F2A1A #3C7F1A #1A6F7F #5D1A7F
square
#7F2A1A #3C7F1A #1A6F7F #5D1A7F
split-complementary
#7F2A1A #1A7F5D #1A3C7F
monochromatic
#190805 #4C1910 #7F2A1A #B23B24 #D7553C

Accessibility & contrast

On white

9.34
#7F2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A1A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A1A#FFFFFF#000000##FFFFFF
##7F2A1A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#8C1327
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a1a;
/* rgb */ color: rgb(127, 42, 26);
/* oklch */ color: oklch(41.0% 0.121 32.8);
Tailwind
colors: {
  custom: {
    50: '#ab6857',
    500: '#7f2a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a1a;
$custom-light: #ab6857;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a1a",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 9.505,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.12099,
    "h": 32.8
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#7F2A1A
secondary
#42A1B3
accent
#CEE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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