#7F241C#7F241C

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

Color values

HEX#7F241C
RGBrgb(127, 36, 28)
HSLhsl(5, 64%, 30%)
HSVhsv(5, 78%, 50%)
CMYKcmyk(0%, 71.7%, 78%, 50.2%)
CIE-LABlab(29.05, 38.60, 27.46)
CIE-LCHlch(29.05, 47.37, 35.42°)
OKLaboklab(40.32% 0.1108 0.0612)
OKLCHoklch(40.32% 0.127 28.9)
XYZxyz(9.5940, 5.8591, 1.7241)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F241C #1C777F
analogous
#7F1C46 #7F241C #7F551C
triadic
#7F241C #1C7F24 #241C7F
tetradic
#7F241C #467F1C #1C777F #551C7F
square
#7F241C #467F1C #1C777F #551C7F
split-complementary
#7F241C #1C7F55 #1C467F
monochromatic
#1B0806 #4D1611 #7F241C #B13227 #D54C40

Accessibility & contrast

On white

9.67
#7F241C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F241C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F241C#FFFFFF#000000##FFFFFF
##7F241C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#8C0523
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f241c;
/* rgb */ color: rgb(127, 36, 28);
/* oklch */ color: oklch(40.3% 0.127 28.9);
Tailwind
colors: {
  custom: {
    50: '#ab6559',
    500: '#7f241c',
    950: '#000000',
  },
}
SCSS
$custom: #7f241c;
$custom-light: #ab6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7f241c",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 4.848,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.1266,
    "h": 28.9
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#7F241C
secondary
#44AAB3
accent
#D9E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F241C

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

Preview Lab → · Contrast checker → · Palette generator →

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