#7F282E#7F282E

#7F282E is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.120 H 20.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F282E
RGBrgb(127, 40, 46)
HSLhsl(356, 52%, 33%)
HSVhsv(356, 69%, 50%)
CMYKcmyk(0%, 68.5%, 63.8%, 50.2%)
CIE-LABlab(29.98, 37.89, 17.18)
CIE-LCHlch(29.98, 41.60, 24.39°)
OKLaboklab(41.11% 0.1125 0.0415)
OKLCHoklch(41.11% 0.12 20.3)
XYZxyz(10.0053, 6.2282, 3.2596)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282E #287F79
analogous
#7F2859 #7F282E #7F4D28
triadic
#7F282E #2E7F28 #282E7F
tetradic
#7F282E #597F28 #287F79 #4D287F
square
#7F282E #597F28 #287F79 #4D287F
split-complementary
#7F282E #287F4D #28597F
monochromatic
#220B0C #50191D #7F282E #AE373F #CA575F

Accessibility & contrast

On white

9.35
#7F282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F282E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F282E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F282E#FFFFFF#000000##FFFFFF
##7F282E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#554D2C
Tritanopia (blue-blind)
#8B142B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f282e;
/* rgb */ color: rgb(127, 40, 46);
/* oklch */ color: oklch(41.1% 0.120 20.3);
Tailwind
colors: {
  custom: {
    50: '#aa6766',
    500: '#7f282e',
    950: '#000000',
  },
}
SCSS
$custom: #7f282e;
$custom-light: #aa6766;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282e",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 355.862,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.11987,
    "h": 20.3
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#7F282E
secondary
#54AFA9
accent
#DCD24C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F282E

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

Preview Lab → · Contrast checker → · Palette generator →

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