#7F281C#7F281C

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

Color values

HEX#7F281C
RGBrgb(127, 40, 28)
HSLhsl(7, 64%, 30%)
HSVhsv(7, 78%, 50%)
CMYKcmyk(0%, 68.5%, 78%, 50.2%)
CIE-LABlab(29.70, 36.85, 28.16)
CIE-LCHlch(29.70, 46.38, 37.39°)
OKLaboklab(40.81% 0.1053 0.0627)
OKLCHoklch(40.81% 0.123 30.8)
XYZxyz(9.7219, 6.1149, 1.7668)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F281C #1C737F
analogous
#7F1C41 #7F281C #7F591C
triadic
#7F281C #1C7F28 #281C7F
tetradic
#7F281C #417F1C #1C737F #591C7F
square
#7F281C #417F1C #1C737F #591C7F
split-complementary
#7F281C #1C7F59 #1C417F
monochromatic
#1B0806 #4D1811 #7F281C #B13827 #D55240

Accessibility & contrast

On white

9.45
#7F281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F281C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F281C#FFFFFF#000000##FFFFFF
##7F281C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f281c;
/* rgb */ color: rgb(127, 40, 28);
/* oklch */ color: oklch(40.8% 0.123 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6759',
    500: '#7f281c',
    950: '#000000',
  },
}
SCSS
$custom: #7f281c;
$custom-light: #ab6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7f281c",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 7.273,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.12258,
    "h": 30.8
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#7F281C
secondary
#44A5B3
accent
#D3E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F281C

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

Preview Lab → · Contrast checker → · Palette generator →

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