#7F241E#7F241E

#7F241E is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.126 H 27.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F241E
RGBrgb(127, 36, 30)
HSLhsl(4, 62%, 31%)
HSVhsv(4, 76%, 50%)
CMYKcmyk(0%, 71.7%, 76.4%, 50.2%)
CIE-LABlab(29.08, 38.70, 26.27)
CIE-LCHlch(29.08, 46.77, 34.17°)
OKLaboklab(40.35% 0.1115 0.0591)
OKLCHoklch(40.35% 0.126 27.9)
XYZxyz(9.6187, 5.8689, 1.8544)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F241E #1E797F
analogous
#7F1E48 #7F241E #7F541E
triadic
#7F241E #1E7F24 #241E7F
tetradic
#7F241E #487F1E #1E797F #541E7F
square
#7F241E #487F1E #1E797F #541E7F
split-complementary
#7F241E #1E7F54 #1E487F
monochromatic
#1C0807 #4D1612 #7F241E #B1322A #D34D44

Accessibility & contrast

On white

9.66
#7F241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F241E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F241E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F241E#FFFFFF#000000##FFFFFF
##7F241E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#8C0623
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f241e;
/* rgb */ color: rgb(127, 36, 30);
/* oklch */ color: oklch(40.3% 0.126 27.9);
Tailwind
colors: {
  custom: {
    50: '#ab655a',
    500: '#7f241e',
    950: '#000000',
  },
}
SCSS
$custom: #7f241e;
$custom-light: #ab655a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f241e",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 3.711,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.12625,
    "h": 27.9
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#7F241E
secondary
#47ACB2
accent
#DBE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F241E

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

Preview Lab → · Contrast checker → · Palette generator →

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