#7F261D#7F261D

#7F261D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.124 H 29.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7F261D
RGBrgb(127, 38, 29)
HSLhsl(6, 63%, 31%)
HSVhsv(6, 77%, 50%)
CMYKcmyk(0%, 70.1%, 77.2%, 50.2%)
CIE-LABlab(29.38, 37.79, 27.21)
CIE-LCHlch(29.38, 46.57, 35.76°)
OKLaboklab(40.57% 0.1085 0.061)
OKLCHoklch(40.57% 0.124 29.3)
XYZxyz(9.6684, 5.9884, 1.8089)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F261D #1D767F
analogous
#7F1D45 #7F261D #7F571D
triadic
#7F261D #1D7F26 #261D7F
tetradic
#7F261D #457F1D #1D767F #571D7F
square
#7F261D #457F1D #1D767F #571D7F
split-complementary
#7F261D #1D7F57 #1D457F
monochromatic
#1B0806 #4D1712 #7F261D #B13528 #D45042

Accessibility & contrast

On white

9.56
#7F261D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F261D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F261D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F261D#FFFFFF#000000##FFFFFF
##7F261D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8C0B25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f261d;
/* rgb */ color: rgb(127, 38, 29);
/* oklch */ color: oklch(40.6% 0.124 29.3);
Tailwind
colors: {
  custom: {
    50: '#ab6659',
    500: '#7f261d',
    950: '#000000',
  },
}
SCSS
$custom: #7f261d;
$custom-light: #ab6659;
$custom-dark: #000000;
JSON
{
  "hex": "#7f261d",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 29
  },
  "hsl": {
    "h": 5.51,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.12441,
    "h": 29.3
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#7F261D
secondary
#45A8B2
accent
#D7E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F261D

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

Preview Lab → · Contrast checker → · Palette generator →

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