#7F281E#7F281E

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

Color values

HEX#7F281E
RGBrgb(127, 40, 30)
HSLhsl(6, 62%, 31%)
HSVhsv(6, 76%, 50%)
CMYKcmyk(0%, 68.5%, 76.4%, 50.2%)
CIE-LABlab(29.73, 36.94, 26.99)
CIE-LCHlch(29.73, 45.75, 36.15°)
OKLaboklab(40.83% 0.106 0.0607)
OKLCHoklch(40.83% 0.122 29.8)
XYZxyz(9.7466, 6.1248, 1.8970)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F281E #1E757F
analogous
#7F1E44 #7F281E #7F581E
triadic
#7F281E #1E7F28 #281E7F
tetradic
#7F281E #447F1E #1E757F #581E7F
square
#7F281E #447F1E #1E757F #581E7F
split-complementary
#7F281E #1E7F58 #1E447F
monochromatic
#1C0907 #4D1812 #7F281E #B1382A #D35344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F281E#FFFFFF#000000##FFFFFF
##7F281E1.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)
#403A1C
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#8C1026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f281e;
/* rgb */ color: rgb(127, 40, 30);
/* oklch */ color: oklch(40.8% 0.122 29.8);
Tailwind
colors: {
  custom: {
    50: '#ab675a',
    500: '#7f281e',
    950: '#000000',
  },
}
SCSS
$custom: #7f281e;
$custom-light: #ab675a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f281e",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 6.186,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.12218,
    "h": 29.8
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#7F281E
secondary
#47A7B2
accent
#D4E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F281E

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

Preview Lab → · Contrast checker → · Palette generator →

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