#7F261C#7F261C

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

Color values

HEX#7F261C
RGBrgb(127, 38, 28)
HSLhsl(6, 64%, 30%)
HSVhsv(6, 78%, 50%)
CMYKcmyk(0%, 70.1%, 78%, 50.2%)
CIE-LABlab(29.37, 37.74, 27.80)
CIE-LCHlch(29.37, 46.88, 36.38°)
OKLaboklab(40.56% 0.1081 0.062)
OKLCHoklch(40.56% 0.125 29.8)
XYZxyz(9.6562, 5.9835, 1.7449)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F261C #1C757F
analogous
#7F1C43 #7F261C #7F581C
triadic
#7F261C #1C7F26 #261C7F
tetradic
#7F261C #437F1C #1C757F #581C7F
square
#7F261C #437F1C #1C757F #581C7F
split-complementary
#7F261C #1C7F58 #1C437F
monochromatic
#1B0806 #4D1711 #7F261C #B13527 #D54F40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F261C#FFFFFF#000000##FFFFFF
##7F261C1.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)
#3F391A
Deuteranopia (green-blind)
#564C19
Tritanopia (blue-blind)
#8C0A24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f261c;
/* rgb */ color: rgb(127, 38, 28);
/* oklch */ color: oklch(40.6% 0.125 29.8);
Tailwind
colors: {
  custom: {
    50: '#ab6659',
    500: '#7f261c',
    950: '#000000',
  },
}
SCSS
$custom: #7f261c;
$custom-light: #ab6659;
$custom-dark: #000000;
JSON
{
  "hex": "#7f261c",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 6.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.12461,
    "h": 29.8
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#7F261C
secondary
#44A7B3
accent
#D6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F261C

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

Preview Lab → · Contrast checker → · Palette generator →

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