#7F241F#7F241F

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

Color values

HEX#7F241F
RGBrgb(127, 36, 31)
HSLhsl(3, 61%, 31%)
HSVhsv(3, 76%, 50%)
CMYKcmyk(0%, 71.7%, 75.6%, 50.2%)
CIE-LABlab(29.09, 38.74, 25.66)
CIE-LCHlch(29.09, 46.47, 33.52°)
OKLaboklab(40.36% 0.1119 0.0581)
OKLCHoklch(40.36% 0.126 27.4)
XYZxyz(9.6317, 5.8741, 1.9227)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F241F #1F7A7F
analogous
#7F1F4A #7F241F #7F541F
triadic
#7F241F #1F7F24 #241F7F
tetradic
#7F241F #4A7F1F #1F7A7F #541F7F
square
#7F241F #4A7F1F #1F7A7F #541F7F
split-complementary
#7F241F #1F7F54 #1F4A7F
monochromatic
#1D0807 #4E1613 #7F241F #B0322B #D24E46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F241F#FFFFFF#000000##FFFFFF
##7F241F1.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)
#3E381E
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8C0624
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f241f;
/* rgb */ color: rgb(127, 36, 31);
/* oklch */ color: oklch(40.4% 0.126 27.4);
Tailwind
colors: {
  custom: {
    50: '#ab655b',
    500: '#7f241f',
    950: '#000000',
  },
}
SCSS
$custom: #7f241f;
$custom-light: #ab655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f241f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 3.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.12608,
    "h": 27.4
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#7F241F
secondary
#48ACB2
accent
#DCE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F241F

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

Preview Lab → · Contrast checker → · Palette generator →

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