#7F261F#7F261F

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

Color values

HEX#7F261F
RGBrgb(127, 38, 31)
HSLhsl(4, 61%, 31%)
HSVhsv(4, 76%, 50%)
CMYKcmyk(0%, 70.1%, 75.6%, 50.2%)
CIE-LABlab(29.41, 37.88, 26.02)
CIE-LCHlch(29.41, 45.96, 34.49°)
OKLaboklab(40.6% 0.1092 0.0589)
OKLCHoklch(40.6% 0.124 28.3)
XYZxyz(9.6939, 5.9986, 1.9435)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F261F #1F787F
analogous
#7F1F48 #7F261F #7F561F
triadic
#7F261F #1F7F26 #261F7F
tetradic
#7F261F #487F1F #1F787F #561F7F
square
#7F261F #487F1F #1F787F #561F7F
split-complementary
#7F261F #1F7F56 #1F487F
monochromatic
#1D0907 #4E1713 #7F261F #B0352B #D25146

Accessibility & contrast

On white

9.55
#7F261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F261F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F261F#FFFFFF#000000##FFFFFF
##7F261F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f261f;
/* rgb */ color: rgb(127, 38, 31);
/* oklch */ color: oklch(40.6% 0.124 28.3);
Tailwind
colors: {
  custom: {
    50: '#ab665b',
    500: '#7f261f',
    950: '#000000',
  },
}
SCSS
$custom: #7f261f;
$custom-light: #ab665b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f261f",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.12405,
    "h": 28.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#7F261F
secondary
#48AAB2
accent
#D8E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F261F

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

Preview Lab → · Contrast checker → · Palette generator →

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