#7F241B#7F241B

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

Color values

HEX#7F241B
RGBrgb(127, 36, 27)
HSLhsl(5, 65%, 30%)
HSVhsv(5, 79%, 50%)
CMYKcmyk(0%, 71.7%, 78.7%, 50.2%)
CIE-LABlab(29.04, 38.56, 28.05)
CIE-LCHlch(29.04, 47.68, 36.03°)
OKLaboklab(40.31% 0.1105 0.0622)
OKLCHoklch(40.31% 0.127 29.4)
XYZxyz(9.5822, 5.8543, 1.6621)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F241B #1B767F
analogous
#7F1B44 #7F241B #7F561B
triadic
#7F241B #1B7F24 #241B7F
tetradic
#7F241B #447F1B #1B767F #561B7F
square
#7F241B #447F1B #1B767F #561B7F
split-complementary
#7F241B #1B7F56 #1B447F
monochromatic
#1A0706 #4D1610 #7F241B #B13226 #D64C3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F241B#FFFFFF#000000##FFFFFF
##7F241B1.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)
#3E3819
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#8C0523
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f241b;
/* rgb */ color: rgb(127, 36, 27);
/* oklch */ color: oklch(40.3% 0.127 29.4);
Tailwind
colors: {
  custom: {
    50: '#ab6558',
    500: '#7f241b',
    950: '#000000',
  },
}
SCSS
$custom: #7f241b;
$custom-light: #ab6558;
$custom-dark: #000000;
JSON
{
  "hex": "#7f241b",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 5.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.12677,
    "h": 29.4
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7F241B
secondary
#43A9B3
accent
#D9E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F241B

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

Preview Lab → · Contrast checker → · Palette generator →

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