#7F251D#7F251D

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

Color values

HEX#7F251D
RGBrgb(127, 37, 29)
HSLhsl(5, 63%, 31%)
HSVhsv(5, 77%, 50%)
CMYKcmyk(0%, 70.9%, 77.2%, 50.2%)
CIE-LABlab(29.22, 38.22, 27.04)
CIE-LCHlch(29.22, 46.82, 35.27°)
OKLaboklab(40.45% 0.1098 0.0606)
OKLCHoklch(40.45% 0.125 28.9)
XYZxyz(9.6368, 5.9253, 1.7984)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F251D #1D777F
analogous
#7F1D46 #7F251D #7F561D
triadic
#7F251D #1D7F25 #251D7F
tetradic
#7F251D #467F1D #1D777F #561D7F
square
#7F251D #467F1D #1D777F #561D7F
split-complementary
#7F251D #1D7F56 #1D467F
monochromatic
#1B0806 #4D1612 #7F251D #B13428 #D44E42

Accessibility & contrast

On white

9.61
#7F251D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F251D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F251D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F251D#FFFFFF#000000##FFFFFF
##7F251D1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8C0824
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f251d;
/* rgb */ color: rgb(127, 37, 29);
/* oklch */ color: oklch(40.5% 0.125 28.9);
Tailwind
colors: {
  custom: {
    50: '#ab6559',
    500: '#7f251d',
    950: '#000000',
  },
}
SCSS
$custom: #7f251d;
$custom-light: #ab6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7f251d",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 4.898,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.12542,
    "h": 28.9
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#7F251D
secondary
#45A9B2
accent
#D8E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F251D

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

Preview Lab → · Contrast checker → · Palette generator →

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