#7F241D#7F241D

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

Color values

HEX#7F241D
RGBrgb(127, 36, 29)
HSLhsl(4, 63%, 31%)
HSVhsv(4, 77%, 50%)
CMYKcmyk(0%, 71.7%, 77.2%, 50.2%)
CIE-LABlab(29.07, 38.65, 26.86)
CIE-LCHlch(29.07, 47.07, 34.80°)
OKLaboklab(40.33% 0.1112 0.0602)
OKLCHoklch(40.33% 0.126 28.4)
XYZxyz(9.6061, 5.8639, 1.7882)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F241D #1D787F
analogous
#7F1D47 #7F241D #7F551D
triadic
#7F241D #1D7F24 #241D7F
tetradic
#7F241D #477F1D #1D787F #551D7F
square
#7F241D #477F1D #1D787F #551D7F
split-complementary
#7F241D #1D7F55 #1D477F
monochromatic
#1B0806 #4D1612 #7F241D #B13228 #D44D42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F241D#FFFFFF#000000##FFFFFF
##7F241D1.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)
#3E381B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8C0523
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f241d;
/* rgb */ color: rgb(127, 36, 29);
/* oklch */ color: oklch(40.3% 0.126 28.4);
Tailwind
colors: {
  custom: {
    50: '#ab6559',
    500: '#7f241d',
    950: '#000000',
  },
}
SCSS
$custom: #7f241d;
$custom-light: #ab6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7f241d",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 29
  },
  "hsl": {
    "h": 4.286,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.12642,
    "h": 28.4
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#7F241D
secondary
#45ABB2
accent
#DAE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F241D

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

Preview Lab → · Contrast checker → · Palette generator →

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