#7F261E#7F261E

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

Color values

HEX#7F261E
RGBrgb(127, 38, 30)
HSLhsl(5, 62%, 31%)
HSVhsv(5, 76%, 50%)
CMYKcmyk(0%, 70.1%, 76.4%, 50.2%)
CIE-LABlab(29.40, 37.83, 26.62)
CIE-LCHlch(29.40, 46.26, 35.13°)
OKLaboklab(40.58% 0.1088 0.0599)
OKLCHoklch(40.58% 0.124 28.8)
XYZxyz(9.6809, 5.9934, 1.8751)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F261E #1E777F
analogous
#7F1E47 #7F261E #7F561E
triadic
#7F261E #1E7F26 #261E7F
tetradic
#7F261E #477F1E #1E777F #561E7F
square
#7F261E #477F1E #1E777F #561E7F
split-complementary
#7F261E #1E7F56 #1E477F
monochromatic
#1C0807 #4D1712 #7F261E #B1352A #D35044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F261E#FFFFFF#000000##FFFFFF
##7F261E1.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)
#3F391C
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#8C0B25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f261e;
/* rgb */ color: rgb(127, 38, 30);
/* oklch */ color: oklch(40.6% 0.124 28.8);
Tailwind
colors: {
  custom: {
    50: '#ab665a',
    500: '#7f261e',
    950: '#000000',
  },
}
SCSS
$custom: #7f261e;
$custom-light: #ab665a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f261e",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 4.948,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.12423,
    "h": 28.8
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#7F261E
secondary
#47A9B2
accent
#D8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F261E

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

Preview Lab → · Contrast checker → · Palette generator →

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