#7F282A#7F282A

#7F282A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 22.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F282A
RGBrgb(127, 40, 42)
HSLhsl(359, 52%, 33%)
HSVhsv(359, 69%, 50%)
CMYKcmyk(0%, 68.5%, 66.9%, 50.2%)
CIE-LABlab(29.91, 37.62, 19.67)
CIE-LCHlch(29.91, 42.45, 27.61°)
OKLaboklab(41.03% 0.1108 0.0467)
OKLCHoklch(41.03% 0.12 22.9)
XYZxyz(9.9301, 6.1982, 2.8635)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282A #287F7D
analogous
#7F2855 #7F282A #7F5228
triadic
#7F282A #2A7F28 #282A7F
tetradic
#7F282A #557F28 #287F7D #52287F
square
#7F282A #557F28 #287F7D #52287F
split-complementary
#7F282A #287F52 #28557F
monochromatic
#220B0B #50191B #7F282A #AE3739 #CA575A

Accessibility & contrast

On white

9.38
#7F282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F282A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F282A#FFFFFF#000000##FFFFFF
##7F282A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B29
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#8C132A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f282a;
/* rgb */ color: rgb(127, 40, 42);
/* oklch */ color: oklch(41.0% 0.120 22.9);
Tailwind
colors: {
  custom: {
    50: '#aa6763',
    500: '#7f282a',
    950: '#000000',
  },
}
SCSS
$custom: #7f282a;
$custom-light: #aa6763;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282a",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 358.621,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.12023,
    "h": 22.9
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#7F282A
secondary
#54AFAD
accent
#DCD84C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F282A

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

Preview Lab → · Contrast checker → · Palette generator →

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