#7F2818#7F2818

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

Color values

HEX#7F2818
RGBrgb(127, 40, 24)
HSLhsl(9, 68%, 30%)
HSVhsv(9, 81%, 50%)
CMYKcmyk(0%, 68.5%, 81.1%, 50.2%)
CIE-LABlab(29.66, 36.68, 30.44)
CIE-LCHlch(29.66, 47.67, 39.69°)
OKLaboklab(40.76% 0.104 0.0665)
OKLCHoklch(40.76% 0.123 32.6)
XYZxyz(9.6771, 6.0970, 1.5313)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2818 #186F7F
analogous
#7F183C #7F2818 #7F5B18
triadic
#7F2818 #187F28 #28187F
tetradic
#7F2818 #3C7F18 #186F7F #5B187F
square
#7F2818 #3C7F18 #186F7F #5B187F
split-complementary
#7F2818 #187F5B #183C7F
monochromatic
#1A0805 #4C180E #7F2818 #B23822 #D95138

Accessibility & contrast

On white

9.46
#7F2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2818
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2818#FFFFFF#000000##FFFFFF
##7F28181.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#8C0E25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2818;
/* rgb */ color: rgb(127, 40, 24);
/* oklch */ color: oklch(40.8% 0.123 32.6);
Tailwind
colors: {
  custom: {
    50: '#ab6756',
    500: '#7f2818',
    950: '#000000',
  },
}
SCSS
$custom: #7f2818;
$custom-light: #ab6756;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2818",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.32,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.12343,
    "h": 32.6
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7F2818
secondary
#3FA1B3
accent
#D0EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2818

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

Preview Lab → · Contrast checker → · Palette generator →

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