#7F281D#7F281D

#7F281D is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.122 H 30.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7F281D
RGBrgb(127, 40, 29)
HSLhsl(7, 63%, 31%)
HSVhsv(7, 77%, 50%)
CMYKcmyk(0%, 68.5%, 77.2%, 50.2%)
CIE-LABlab(29.71, 36.89, 27.58)
CIE-LCHlch(29.71, 46.06, 36.78°)
OKLaboklab(40.82% 0.1057 0.0617)
OKLCHoklch(40.82% 0.122 30.3)
XYZxyz(9.7340, 6.1197, 1.8308)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F281D #1D747F
analogous
#7F1D43 #7F281D #7F591D
triadic
#7F281D #1D7F28 #281D7F
tetradic
#7F281D #437F1D #1D747F #591D7F
square
#7F281D #437F1D #1D747F #591D7F
split-complementary
#7F281D #1D7F59 #1D437F
monochromatic
#1B0906 #4D1812 #7F281D #B13828 #D45342

Accessibility & contrast

On white

9.44
#7F281D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F281D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F281D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F281D#FFFFFF#000000##FFFFFF
##7F281D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#8C0F26
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f281d;
/* rgb */ color: rgb(127, 40, 29);
/* oklch */ color: oklch(40.8% 0.122 30.3);
Tailwind
colors: {
  custom: {
    50: '#ab6759',
    500: '#7f281d',
    950: '#000000',
  },
}
SCSS
$custom: #7f281d;
$custom-light: #ab6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7f281d",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 29
  },
  "hsl": {
    "h": 6.735,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40818,
    "c": 0.12238,
    "h": 30.3
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#7F281D
secondary
#45A6B2
accent
#D3E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F281D

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

Preview Lab → · Contrast checker → · Palette generator →

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