#7F281B#7F281B

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

Color values

HEX#7F281B
RGBrgb(127, 40, 27)
HSLhsl(8, 65%, 30%)
HSVhsv(8, 79%, 50%)
CMYKcmyk(0%, 68.5%, 78.7%, 50.2%)
CIE-LABlab(29.69, 36.80, 28.74)
CIE-LCHlch(29.69, 46.70, 37.98°)
OKLaboklab(40.79% 0.105 0.0637)
OKLCHoklch(40.79% 0.123 31.3)
XYZxyz(9.7101, 6.1102, 1.7048)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F281B #1B727F
analogous
#7F1B40 #7F281B #7F5A1B
triadic
#7F281B #1B7F28 #281B7F
tetradic
#7F281B #407F1B #1B727F #5A1B7F
square
#7F281B #407F1B #1B727F #5A1B7F
split-complementary
#7F281B #1B7F5A #1B407F
monochromatic
#1A0806 #4D1810 #7F281B #B13826 #D6523E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F281B#FFFFFF#000000##FFFFFF
##7F281B1.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)
#413A19
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#8C0F26
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f281b;
/* rgb */ color: rgb(127, 40, 27);
/* oklch */ color: oklch(40.8% 0.123 31.3);
Tailwind
colors: {
  custom: {
    50: '#ab6758',
    500: '#7f281b',
    950: '#000000',
  },
}
SCSS
$custom: #7f281b;
$custom-light: #ab6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7f281b",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 7.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.12279,
    "h": 31.3
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#7F281B
secondary
#43A4B3
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F281B

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

Preview Lab → · Contrast checker → · Palette generator →

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