#7F2A1C#7F2A1C

#7F2A1C is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.121 H 31.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7F2A1C
RGBrgb(127, 42, 28)
HSLhsl(8, 64%, 30%)
HSVhsv(8, 78%, 50%)
CMYKcmyk(0%, 66.9%, 78%, 50.2%)
CIE-LABlab(30.04, 35.93, 28.53)
CIE-LCHlch(30.04, 45.88, 38.45°)
OKLaboklab(41.06% 0.1024 0.0636)
OKLCHoklch(41.06% 0.121 31.8)
XYZxyz(9.7910, 6.2532, 1.7898)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A1C #1C717F
analogous
#7F1C3F #7F2A1C #7F5B1C
triadic
#7F2A1C #1C7F2A #2A1C7F
tetradic
#7F2A1C #3F7F1C #1C717F #5B1C7F
square
#7F2A1C #3F7F1C #1C717F #5B1C7F
split-complementary
#7F2A1C #1C7F5B #1C3F7F
monochromatic
#1B0906 #4D1911 #7F2A1C #B13B27 #D55540

Accessibility & contrast

On white

9.33
#7F2A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A1C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A1C#FFFFFF#000000##FFFFFF
##7F2A1C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2a1c;
/* rgb */ color: rgb(127, 42, 28);
/* oklch */ color: oklch(41.1% 0.121 31.8);
Tailwind
colors: {
  custom: {
    50: '#ab6859',
    500: '#7f2a1c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a1c;
$custom-light: #ab6859;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a1c",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 8.485,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.12055,
    "h": 31.8
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#7F2A1C
secondary
#44A3B3
accent
#CFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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