#7F261A#7F261A

#7F261A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 30.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F261A
RGBrgb(127, 38, 26)
HSLhsl(7, 66%, 30%)
HSVhsv(7, 80%, 50%)
CMYKcmyk(0%, 70.1%, 79.5%, 50.2%)
CIE-LABlab(29.35, 37.66, 28.96)
CIE-LCHlch(29.35, 47.51, 37.57°)
OKLaboklab(40.53% 0.1074 0.0639)
OKLCHoklch(40.53% 0.125 30.8)
XYZxyz(9.6330, 5.9743, 1.6230)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F261A #1A737F
analogous
#7F1A40 #7F261A #7F591A
triadic
#7F261A #1A7F26 #261A7F
tetradic
#7F261A #407F1A #1A737F #591A7F
square
#7F261A #407F1A #1A737F #591A7F
split-complementary
#7F261A #1A7F59 #1A407F
monochromatic
#190805 #4C1710 #7F261A #B23524 #D74F3C

Accessibility & contrast

On white

9.57
#7F261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F261A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F261A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F261A#FFFFFF#000000##FFFFFF
##7F261A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#8C0A24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f261a;
/* rgb */ color: rgb(127, 38, 26);
/* oklch */ color: oklch(40.5% 0.125 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6657',
    500: '#7f261a',
    950: '#000000',
  },
}
SCSS
$custom: #7f261a;
$custom-light: #ab6657;
$custom-dark: #000000;
JSON
{
  "hex": "#7f261a",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 7.129,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.125,
    "h": 30.8
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#7F261A
secondary
#42A6B3
accent
#D5E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F261A

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

Preview Lab → · Contrast checker → · Palette generator →

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